Struct IFsrmFileManagementJob
pub struct IFsrmFileManagementJob(/* private fields */);
Implementations§
§impl IFsrmFileManagementJob
impl IFsrmFileManagementJob
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn SetName(&self, name: &BSTR) -> Result<()>
pub unsafe fn NamespaceRoots(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetNamespaceRoots( &self, namespaceroots: *const SAFEARRAY, ) -> Result<()>
pub unsafe fn Enabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetEnabled(&self, enabled: VARIANT_BOOL) -> Result<()>
pub unsafe fn OperationType(&self) -> Result<FsrmFileManagementType>
pub unsafe fn SetOperationType( &self, operationtype: FsrmFileManagementType, ) -> Result<()>
pub unsafe fn ExpirationDirectory(&self) -> Result<BSTR>
pub unsafe fn SetExpirationDirectory( &self, expirationdirectory: &BSTR, ) -> Result<()>
pub unsafe fn CustomAction(&self) -> Result<IFsrmActionCommand>
pub unsafe fn Notifications(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn Logging(&self) -> Result<i32>
pub unsafe fn SetLogging(&self, loggingflags: i32) -> Result<()>
pub unsafe fn ReportEnabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetReportEnabled(&self, reportenabled: VARIANT_BOOL) -> Result<()>
pub unsafe fn Formats(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetFormats(&self, formats: *const SAFEARRAY) -> Result<()>
pub unsafe fn MailTo(&self) -> Result<BSTR>
pub unsafe fn SetMailTo(&self, mailto: &BSTR) -> Result<()>
pub unsafe fn DaysSinceFileCreated(&self) -> Result<i32>
pub unsafe fn SetDaysSinceFileCreated( &self, dayssincecreation: i32, ) -> Result<()>
pub unsafe fn DaysSinceFileLastAccessed(&self) -> Result<i32>
pub unsafe fn SetDaysSinceFileLastAccessed( &self, dayssinceaccess: i32, ) -> Result<()>
pub unsafe fn DaysSinceFileLastModified(&self) -> Result<i32>
pub unsafe fn SetDaysSinceFileLastModified( &self, dayssincemodify: i32, ) -> Result<()>
pub unsafe fn PropertyConditions(&self) -> Result<IFsrmCollection>
pub unsafe fn FromDate(&self) -> Result<f64>
pub unsafe fn SetFromDate(&self, fromdate: f64) -> Result<()>
pub unsafe fn Task(&self) -> Result<BSTR>
pub unsafe fn SetTask(&self, taskname: &BSTR) -> Result<()>
pub unsafe fn Parameters(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetParameters(&self, parameters: *const SAFEARRAY) -> Result<()>
pub unsafe fn RunningStatus(&self) -> Result<FsrmReportRunningStatus>
pub unsafe fn LastError(&self) -> Result<BSTR>
pub unsafe fn LastReportPathWithoutExtension(&self) -> Result<BSTR>
pub unsafe fn LastRun(&self) -> Result<f64>
pub unsafe fn FileNamePattern(&self) -> Result<BSTR>
pub unsafe fn SetFileNamePattern(&self, filenamepattern: &BSTR) -> Result<()>
pub unsafe fn Run(&self, context: FsrmReportGenerationContext) -> Result<()>
pub unsafe fn WaitForCompletion(&self, waitseconds: i32) -> Result<VARIANT_BOOL>
pub unsafe fn Cancel(&self) -> Result<()>
pub unsafe fn AddNotification(&self, days: i32) -> Result<()>
pub unsafe fn DeleteNotification(&self, days: i32) -> Result<()>
pub unsafe fn ModifyNotification(&self, days: i32, newdays: i32) -> Result<()>
pub unsafe fn CreateNotificationAction( &self, days: i32, actiontype: FsrmActionType, ) -> Result<IFsrmAction>
pub unsafe fn EnumNotificationActions( &self, days: i32, ) -> Result<IFsrmCollection>
pub unsafe fn CreatePropertyCondition( &self, name: &BSTR, ) -> Result<IFsrmPropertyCondition>
pub unsafe fn CreateCustomAction(&self) -> Result<IFsrmActionCommand>
Methods from Deref<Target = IFsrmObject>§
pub unsafe fn Id(&self) -> Result<GUID>
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn SetDescription(&self, description: &BSTR) -> Result<()>
pub unsafe fn Delete(&self) -> Result<()>
pub unsafe fn Commit(&self) -> Result<()>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IFsrmObject> for IFsrmFileManagementJob
impl CanInto<IFsrmObject> for IFsrmFileManagementJob
§impl CanInto<IUnknown> for IFsrmFileManagementJob
impl CanInto<IUnknown> for IFsrmFileManagementJob
§impl Clone for IFsrmFileManagementJob
impl Clone for IFsrmFileManagementJob
§fn clone(&self) -> IFsrmFileManagementJob
fn clone(&self) -> IFsrmFileManagementJob
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 IFsrmFileManagementJob
impl Debug for IFsrmFileManagementJob
§impl Deref for IFsrmFileManagementJob
impl Deref for IFsrmFileManagementJob
§impl From<&IFsrmFileManagementJob> for &IDispatch
impl From<&IFsrmFileManagementJob> for &IDispatch
§fn from(value: &IFsrmFileManagementJob) -> Self
fn from(value: &IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileManagementJob> for &IFsrmObject
impl From<&IFsrmFileManagementJob> for &IFsrmObject
§fn from(value: &IFsrmFileManagementJob) -> Self
fn from(value: &IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileManagementJob> for &IUnknown
impl From<&IFsrmFileManagementJob> for &IUnknown
§fn from(value: &IFsrmFileManagementJob) -> Self
fn from(value: &IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileManagementJob> for IDispatch
impl From<IFsrmFileManagementJob> for IDispatch
§fn from(value: IFsrmFileManagementJob) -> Self
fn from(value: IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileManagementJob> for IFsrmObject
impl From<IFsrmFileManagementJob> for IFsrmObject
§fn from(value: IFsrmFileManagementJob) -> Self
fn from(value: IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileManagementJob> for IUnknown
impl From<IFsrmFileManagementJob> for IUnknown
§fn from(value: IFsrmFileManagementJob) -> Self
fn from(value: IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl Interface for IFsrmFileManagementJob
impl Interface for IFsrmFileManagementJob
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IFsrmFileManagementJob
impl PartialEq for IFsrmFileManagementJob
impl Eq for IFsrmFileManagementJob
impl StructuralPartialEq for IFsrmFileManagementJob
Auto Trait Implementations§
impl Freeze for IFsrmFileManagementJob
impl RefUnwindSafe for IFsrmFileManagementJob
impl !Send for IFsrmFileManagementJob
impl !Sync for IFsrmFileManagementJob
impl Unpin for IFsrmFileManagementJob
impl UnwindSafe for IFsrmFileManagementJob
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