Struct winsafe::IDailyTrigger
source · pub struct IDailyTrigger(/* private fields */);
Available on crate feature
taskschd
only.Expand description
IDailyTrigger
COM interface over IDailyTriggerVT
.
Automatically calls
Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*};
let trigger: w::ITrigger; // initialized somewhere
let daily_trigger = trigger
.QueryInterface::<w::IDailyTrigger>()?;
Trait Implementations§
source§impl Clone for IDailyTrigger
impl Clone for IDailyTrigger
source§impl Drop for IDailyTrigger
impl Drop for IDailyTrigger
source§impl ole_IUnknown for IDailyTrigger
impl ole_IUnknown for IDailyTrigger
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.source§impl oleaut_IDispatch for IDailyTrigger
impl oleaut_IDispatch for IDailyTrigger
source§fn GetIDsOfNames(
&self,
names: &[impl AsRef<str>],
lcid: LCID
) -> HrResult<Vec<i32>>
fn GetIDsOfNames( &self, names: &[impl AsRef<str>], lcid: LCID ) -> HrResult<Vec<i32>>
Available on crate feature
oleaut
only.IDispatch::GetIDsOfNames
method.source§fn GetTypeInfoCount(&self) -> HrResult<u32>
fn GetTypeInfoCount(&self) -> HrResult<u32>
Available on crate feature
oleaut
only.IDispatch::GetTypeInfoCount
method.source§fn GetTypeInfo(&self, info_type: u32, lcid: LCID) -> HrResult<ITypeInfo>
fn GetTypeInfo(&self, info_type: u32, lcid: LCID) -> HrResult<ITypeInfo>
Available on crate feature
oleaut
only.IDispatch::GetTypeInfo
method.source§impl taskschd_IDailyTrigger for IDailyTrigger
impl taskschd_IDailyTrigger for IDailyTrigger
source§fn get_DaysInterval(&self) -> HrResult<i16>
fn get_DaysInterval(&self) -> HrResult<i16>
IDailyTrigger::get_DaysInterval
method.source§fn get_RandomDelay(&self) -> HrResult<String>
fn get_RandomDelay(&self) -> HrResult<String>
IDailyTrigger::get_RandomDelay
method.source§fn put_DaysInterval(&self, days: i16) -> HrResult<()>
fn put_DaysInterval(&self, days: i16) -> HrResult<()>
IDailyTrigger::put_DaysInterval
method.source§fn put_RandomDelay(&self, random_delay: &str) -> HrResult<()>
fn put_RandomDelay(&self, random_delay: &str) -> HrResult<()>
IDailyTrigger::put_RandomDelay
method.source§impl taskschd_ITrigger for IDailyTrigger
impl taskschd_ITrigger for IDailyTrigger
source§fn get_Enabled(&self) -> HrResult<bool>
fn get_Enabled(&self) -> HrResult<bool>
ITrigger::get_Enabled
method.source§fn get_EndBoundary(&self) -> HrResult<String>
fn get_EndBoundary(&self) -> HrResult<String>
ITrigger::get_EndBoundary
method.source§fn get_ExecutionTimeLimit(&self) -> HrResult<String>
fn get_ExecutionTimeLimit(&self) -> HrResult<String>
ITrigger::get_ExecutionTimeLimit
method.source§fn get_StartBoundary(&self) -> HrResult<String>
fn get_StartBoundary(&self) -> HrResult<String>
ITrigger::get_StartBoundary
method.source§fn get_Type(&self) -> HrResult<TASK_TRIGGER_TYPE2>
fn get_Type(&self) -> HrResult<TASK_TRIGGER_TYPE2>
ITrigger::get_Type
method.source§fn put_Enabled(&self, enabled: bool) -> HrResult<()>
fn put_Enabled(&self, enabled: bool) -> HrResult<()>
ITrigger::put_Enabled
method.source§fn put_EndBoundary(&self, end: &str) -> HrResult<()>
fn put_EndBoundary(&self, end: &str) -> HrResult<()>
ITrigger::put_EndBoundary
method.source§fn put_ExecutionTimeLimit(&self, time_limit: &str) -> HrResult<()>
fn put_ExecutionTimeLimit(&self, time_limit: &str) -> HrResult<()>
ITrigger::put_ExecutionTimeLimit
method.source§fn put_StartBoundary(&self, start: &str) -> HrResult<()>
fn put_StartBoundary(&self, start: &str) -> HrResult<()>
ITrigger::put_StartBoundary
method.impl Send for IDailyTrigger
Auto Trait Implementations§
impl Freeze for IDailyTrigger
impl RefUnwindSafe for IDailyTrigger
impl !Sync for IDailyTrigger
impl Unpin for IDailyTrigger
impl UnwindSafe for IDailyTrigger
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