Struct windows::Win32::System::TaskScheduler::ITaskDefinition
pub struct ITaskDefinition(/* private fields */);
Implementations§
§impl ITaskDefinition
impl ITaskDefinition
pub unsafe fn RegistrationInfo(&self) -> Result<IRegistrationInfo>
pub unsafe fn SetRegistrationInfo<P0>(
&self,
pregistrationinfo: P0
) -> Result<()>where
P0: IntoParam<IRegistrationInfo>,
pub unsafe fn Triggers(&self) -> Result<ITriggerCollection>
pub unsafe fn SetTriggers<P0>(&self, ptriggers: P0) -> Result<()>where
P0: IntoParam<ITriggerCollection>,
pub unsafe fn Settings(&self) -> Result<ITaskSettings>
pub unsafe fn SetSettings<P0>(&self, psettings: P0) -> Result<()>where
P0: IntoParam<ITaskSettings>,
pub unsafe fn Data(&self, pdata: *mut BSTR) -> Result<()>
pub unsafe fn SetData<P0>(&self, data: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Principal(&self) -> Result<IPrincipal>
pub unsafe fn SetPrincipal<P0>(&self, pprincipal: P0) -> Result<()>where
P0: IntoParam<IPrincipal>,
pub unsafe fn Actions(&self) -> Result<IActionCollection>
pub unsafe fn SetActions<P0>(&self, pactions: P0) -> Result<()>where
P0: IntoParam<IActionCollection>,
pub unsafe fn XmlText(&self, pxml: *mut BSTR) -> Result<()>
pub unsafe fn SetXmlText<P0>(&self, xml: P0) -> Result<()>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Clone for ITaskDefinition
impl Clone for ITaskDefinition
§fn clone(&self) -> ITaskDefinition
fn clone(&self) -> ITaskDefinition
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 ITaskDefinition
impl Debug for ITaskDefinition
§impl From<&ITaskDefinition> for &IDispatch
impl From<&ITaskDefinition> for &IDispatch
§fn from(value: &ITaskDefinition) -> Self
fn from(value: &ITaskDefinition) -> Self
Converts to this type from the input type.
§impl From<&ITaskDefinition> for &IUnknown
impl From<&ITaskDefinition> for &IUnknown
§fn from(value: &ITaskDefinition) -> Self
fn from(value: &ITaskDefinition) -> Self
Converts to this type from the input type.
§impl From<ITaskDefinition> for IDispatch
impl From<ITaskDefinition> for IDispatch
§fn from(value: ITaskDefinition) -> Self
fn from(value: ITaskDefinition) -> Self
Converts to this type from the input type.
§impl From<ITaskDefinition> for IUnknown
impl From<ITaskDefinition> for IUnknown
§fn from(value: ITaskDefinition) -> Self
fn from(value: ITaskDefinition) -> Self
Converts to this type from the input type.
§impl Interface for ITaskDefinition
impl Interface for ITaskDefinition
§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 ITaskDefinition
impl PartialEq for ITaskDefinition
§fn eq(&self, other: &ITaskDefinition) -> bool
fn eq(&self, other: &ITaskDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITaskDefinition
impl StructuralPartialEq for ITaskDefinition
Auto Trait Implementations§
impl RefUnwindSafe for ITaskDefinition
impl !Send for ITaskDefinition
impl !Sync for ITaskDefinition
impl Unpin for ITaskDefinition
impl UnwindSafe for ITaskDefinition
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