pub struct IEmailAction(/* private fields */);
Available on crate feature
taskschd
only.Expand description
IEmailAction
COM interface.
Automatically calls
Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*};
let action: w::IAction; // initialized somewhere
let email_action = action
.QueryInterface::<w::IEmailAction>()?;
Trait Implementations§
Source§impl Clone for IEmailAction
impl Clone for IEmailAction
Source§impl Drop for IEmailAction
impl Drop for IEmailAction
Source§impl ole_IUnknown for IEmailAction
impl ole_IUnknown for IEmailAction
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 IEmailAction
impl oleaut_IDispatch for IEmailAction
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§fn Invoke(
&self,
disp_id_member: i32,
lcid: LCID,
flags: DISPATCH,
disp_params: &mut DISPPARAMS<'_, '_>,
) -> AnyResult<VARIANT>
fn Invoke( &self, disp_id_member: i32, lcid: LCID, flags: DISPATCH, disp_params: &mut DISPPARAMS<'_, '_>, ) -> AnyResult<VARIANT>
Available on crate feature
oleaut
only.IDispatch::Invoke
method. Read moreSource§fn invoke_get(
&self,
property_name: &str,
params: &[&Variant],
) -> AnyResult<Variant>
fn invoke_get( &self, property_name: &str, params: &[&Variant], ) -> AnyResult<Variant>
Available on crate feature
oleaut
only.Source§fn invoke_method(
&self,
method_name: &str,
params: &[&Variant],
) -> AnyResult<Variant>
fn invoke_method( &self, method_name: &str, params: &[&Variant], ) -> AnyResult<Variant>
Available on crate feature
oleaut
only.Source§impl taskschd_IAction for IEmailAction
impl taskschd_IAction for IEmailAction
Source§fn get_Type(&self) -> HrResult<TASK_ACTION_TYPE>
fn get_Type(&self) -> HrResult<TASK_ACTION_TYPE>
IAction::get_Type
method.Source§impl taskschd_IEmailAction for IEmailAction
impl taskschd_IEmailAction for IEmailAction
Source§fn get_ReplyTo(&self) -> HrResult<String>
fn get_ReplyTo(&self) -> HrResult<String>
IEmailAction::get_ReplyTo
method.Source§fn get_Server(&self) -> HrResult<String>
fn get_Server(&self) -> HrResult<String>
IEmailAction::get_Server
method.Source§fn get_Subject(&self) -> HrResult<String>
fn get_Subject(&self) -> HrResult<String>
IEmailAction::get_Subject
method.Source§fn put_ReplyTo(&self, reply_to: &str) -> HrResult<()>
fn put_ReplyTo(&self, reply_to: &str) -> HrResult<()>
IEmailAction::put_ReplyTo
method.Source§fn put_Server(&self, server: &str) -> HrResult<()>
fn put_Server(&self, server: &str) -> HrResult<()>
IEmailAction::put_Server
method.Source§fn put_Subject(&self, subject: &str) -> HrResult<()>
fn put_Subject(&self, subject: &str) -> HrResult<()>
IEmailAction::put_Subject
method.impl Send for IEmailAction
Auto Trait Implementations§
impl Freeze for IEmailAction
impl RefUnwindSafe for IEmailAction
impl !Sync for IEmailAction
impl Unpin for IEmailAction
impl UnwindSafe for IEmailAction
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