pub struct IEventPublisher(/* private fields */);
Implementations§
§impl IEventPublisher
impl IEventPublisher
pub unsafe fn PublisherID(&self) -> Result<BSTR>
pub unsafe fn SetPublisherID<P0>(&self, bstrpublisherid: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn PublisherName(&self) -> Result<BSTR>
pub unsafe fn SetPublisherName<P0>(&self, bstrpublishername: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn PublisherType(&self) -> Result<BSTR>
pub unsafe fn SetPublisherType<P0>(&self, bstrpublishertype: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn OwnerSID(&self) -> Result<BSTR>
pub unsafe fn SetOwnerSID<P0>(&self, bstrownersid: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn SetDescription<P0>(&self, bstrdescription: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetDefaultProperty<P0>(
&self,
bstrpropertyname: P0
) -> Result<VARIANT>where
P0: IntoParam<BSTR>,
pub unsafe fn PutDefaultProperty<P0>(
&self,
bstrpropertyname: P0,
propertyvalue: *const VARIANT
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RemoveDefaultProperty<P0>(
&self,
bstrpropertyname: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetDefaultPropertyCollection( &self ) -> Result<IEventObjectCollection>
Trait Implementations§
§impl Clone for IEventPublisher
impl Clone for IEventPublisher
§fn clone(&self) -> IEventPublisher
fn clone(&self) -> IEventPublisher
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 IEventPublisher
impl Debug for IEventPublisher
§impl From<&IEventPublisher> for &IDispatch
impl From<&IEventPublisher> for &IDispatch
§fn from(value: &IEventPublisher) -> Self
fn from(value: &IEventPublisher) -> Self
Converts to this type from the input type.
§impl From<&IEventPublisher> for &IUnknown
impl From<&IEventPublisher> for &IUnknown
§fn from(value: &IEventPublisher) -> Self
fn from(value: &IEventPublisher) -> Self
Converts to this type from the input type.
§impl From<IEventPublisher> for IDispatch
impl From<IEventPublisher> for IDispatch
§fn from(value: IEventPublisher) -> Self
fn from(value: IEventPublisher) -> Self
Converts to this type from the input type.
§impl From<IEventPublisher> for IUnknown
impl From<IEventPublisher> for IUnknown
§fn from(value: IEventPublisher) -> Self
fn from(value: IEventPublisher) -> Self
Converts to this type from the input type.
§impl Interface for IEventPublisher
impl Interface for IEventPublisher
§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 IEventPublisher
impl PartialEq for IEventPublisher
§fn eq(&self, other: &IEventPublisher) -> bool
fn eq(&self, other: &IEventPublisher) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IEventPublisher
impl StructuralPartialEq for IEventPublisher
Auto Trait Implementations§
impl RefUnwindSafe for IEventPublisher
impl !Send for IEventPublisher
impl !Sync for IEventPublisher
impl Unpin for IEventPublisher
impl UnwindSafe for IEventPublisher
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