Struct windows::Win32::System::TaskScheduler::IMaintenanceSettings
pub struct IMaintenanceSettings(/* private fields */);
Implementations§
§impl IMaintenanceSettings
impl IMaintenanceSettings
pub unsafe fn SetPeriod<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Period(&self, target: *mut BSTR) -> Result<()>
pub unsafe fn SetDeadline<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Deadline(&self, target: *mut BSTR) -> Result<()>
pub unsafe fn SetExclusive<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn Exclusive(&self, target: *mut VARIANT_BOOL) -> Result<()>
Trait Implementations§
§impl Clone for IMaintenanceSettings
impl Clone for IMaintenanceSettings
§fn clone(&self) -> IMaintenanceSettings
fn clone(&self) -> IMaintenanceSettings
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 IMaintenanceSettings
impl Debug for IMaintenanceSettings
§impl From<&IMaintenanceSettings> for &IDispatch
impl From<&IMaintenanceSettings> for &IDispatch
§fn from(value: &IMaintenanceSettings) -> Self
fn from(value: &IMaintenanceSettings) -> Self
Converts to this type from the input type.
§impl From<&IMaintenanceSettings> for &IUnknown
impl From<&IMaintenanceSettings> for &IUnknown
§fn from(value: &IMaintenanceSettings) -> Self
fn from(value: &IMaintenanceSettings) -> Self
Converts to this type from the input type.
§impl From<IMaintenanceSettings> for IDispatch
impl From<IMaintenanceSettings> for IDispatch
§fn from(value: IMaintenanceSettings) -> Self
fn from(value: IMaintenanceSettings) -> Self
Converts to this type from the input type.
§impl From<IMaintenanceSettings> for IUnknown
impl From<IMaintenanceSettings> for IUnknown
§fn from(value: IMaintenanceSettings) -> Self
fn from(value: IMaintenanceSettings) -> Self
Converts to this type from the input type.
§impl Interface for IMaintenanceSettings
impl Interface for IMaintenanceSettings
§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 IMaintenanceSettings
impl PartialEq for IMaintenanceSettings
§fn eq(&self, other: &IMaintenanceSettings) -> bool
fn eq(&self, other: &IMaintenanceSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMaintenanceSettings
impl StructuralPartialEq for IMaintenanceSettings
Auto Trait Implementations§
impl RefUnwindSafe for IMaintenanceSettings
impl !Send for IMaintenanceSettings
impl !Sync for IMaintenanceSettings
impl Unpin for IMaintenanceSettings
impl UnwindSafe for IMaintenanceSettings
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