pub struct IFsrmAutoApplyQuota(/* private fields */);
Implementations§
§impl IFsrmAutoApplyQuota
impl IFsrmAutoApplyQuota
pub unsafe fn Id(&self) -> Result<GUID>
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn SetDescription<P0>(&self, description: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Delete(&self) -> Result<()>
pub unsafe fn Commit(&self) -> Result<()>
pub unsafe fn QuotaLimit(&self) -> Result<VARIANT>
pub unsafe fn SetQuotaLimit<P0>(&self, quotalimit: P0) -> Result<()>where
P0: IntoParam<VARIANT>,
pub unsafe fn QuotaFlags(&self) -> Result<i32>
pub unsafe fn SetQuotaFlags(&self, quotaflags: i32) -> Result<()>
pub unsafe fn Thresholds(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn AddThreshold(&self, threshold: i32) -> Result<()>
pub unsafe fn DeleteThreshold(&self, threshold: i32) -> Result<()>
pub unsafe fn ModifyThreshold( &self, threshold: i32, newthreshold: i32 ) -> Result<()>
pub unsafe fn CreateThresholdAction( &self, threshold: i32, actiontype: FsrmActionType ) -> Result<IFsrmAction>
pub unsafe fn EnumThresholdActions( &self, threshold: i32 ) -> Result<IFsrmCollection>
pub unsafe fn Path(&self) -> Result<BSTR>
pub unsafe fn UserSid(&self) -> Result<BSTR>
pub unsafe fn UserAccount(&self) -> Result<BSTR>
pub unsafe fn SourceTemplateName(&self) -> Result<BSTR>
pub unsafe fn MatchesSourceTemplate(&self) -> Result<VARIANT_BOOL>
pub unsafe fn ApplyTemplate<P0>(&self, quotatemplatename: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn ExcludeFolders(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetExcludeFolders(&self, folders: *const SAFEARRAY) -> Result<()>
pub unsafe fn CommitAndUpdateDerived( &self, commitoptions: FsrmCommitOptions, applyoptions: FsrmTemplateApplyOptions ) -> Result<IFsrmDerivedObjectsResult>
Trait Implementations§
§impl Clone for IFsrmAutoApplyQuota
impl Clone for IFsrmAutoApplyQuota
§fn clone(&self) -> IFsrmAutoApplyQuota
fn clone(&self) -> IFsrmAutoApplyQuota
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IFsrmAutoApplyQuota
impl Debug for IFsrmAutoApplyQuota
§impl From<&IFsrmAutoApplyQuota> for &IDispatch
impl From<&IFsrmAutoApplyQuota> for &IDispatch
§fn from(value: &IFsrmAutoApplyQuota) -> Self
fn from(value: &IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<&IFsrmAutoApplyQuota> for &IFsrmObject
impl From<&IFsrmAutoApplyQuota> for &IFsrmObject
§fn from(value: &IFsrmAutoApplyQuota) -> Self
fn from(value: &IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<&IFsrmAutoApplyQuota> for &IFsrmQuotaBase
impl From<&IFsrmAutoApplyQuota> for &IFsrmQuotaBase
§fn from(value: &IFsrmAutoApplyQuota) -> Self
fn from(value: &IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<&IFsrmAutoApplyQuota> for &IFsrmQuotaObject
impl From<&IFsrmAutoApplyQuota> for &IFsrmQuotaObject
§fn from(value: &IFsrmAutoApplyQuota) -> Self
fn from(value: &IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<&IFsrmAutoApplyQuota> for &IUnknown
impl From<&IFsrmAutoApplyQuota> for &IUnknown
§fn from(value: &IFsrmAutoApplyQuota) -> Self
fn from(value: &IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<IFsrmAutoApplyQuota> for IDispatch
impl From<IFsrmAutoApplyQuota> for IDispatch
§fn from(value: IFsrmAutoApplyQuota) -> Self
fn from(value: IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<IFsrmAutoApplyQuota> for IFsrmObject
impl From<IFsrmAutoApplyQuota> for IFsrmObject
§fn from(value: IFsrmAutoApplyQuota) -> Self
fn from(value: IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<IFsrmAutoApplyQuota> for IFsrmQuotaBase
impl From<IFsrmAutoApplyQuota> for IFsrmQuotaBase
§fn from(value: IFsrmAutoApplyQuota) -> Self
fn from(value: IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<IFsrmAutoApplyQuota> for IFsrmQuotaObject
impl From<IFsrmAutoApplyQuota> for IFsrmQuotaObject
§fn from(value: IFsrmAutoApplyQuota) -> Self
fn from(value: IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<IFsrmAutoApplyQuota> for IUnknown
impl From<IFsrmAutoApplyQuota> for IUnknown
§fn from(value: IFsrmAutoApplyQuota) -> Self
fn from(value: IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl Interface for IFsrmAutoApplyQuota
impl Interface for IFsrmAutoApplyQuota
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IFsrmAutoApplyQuota
impl PartialEq for IFsrmAutoApplyQuota
§fn eq(&self, other: &IFsrmAutoApplyQuota) -> bool
fn eq(&self, other: &IFsrmAutoApplyQuota) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFsrmAutoApplyQuota
impl StructuralPartialEq for IFsrmAutoApplyQuota
Auto Trait Implementations§
impl RefUnwindSafe for IFsrmAutoApplyQuota
impl !Send for IFsrmAutoApplyQuota
impl !Sync for IFsrmAutoApplyQuota
impl Unpin for IFsrmAutoApplyQuota
impl UnwindSafe for IFsrmAutoApplyQuota
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more