Struct windows::Win32::Security::Cryptography::Certificates::IAlternativeName
pub struct IAlternativeName(/* private fields */);
Implementations§
§impl IAlternativeName
impl IAlternativeName
pub unsafe fn InitializeFromString<P0>(
&self,
type: AlternativeNameType,
strvalue: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn InitializeFromRawData<P0>(
&self,
type: AlternativeNameType,
encoding: EncodingType,
strrawdata: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn InitializeFromOtherName<P0, P1, P2>( &self, pobjectid: P0, encoding: EncodingType, strrawdata: P1, tobewrapped: P2 ) -> Result<()>
pub unsafe fn Type(&self) -> Result<AlternativeNameType>
pub unsafe fn StrValue(&self) -> Result<BSTR>
pub unsafe fn ObjectId(&self) -> Result<IObjectId>
pub unsafe fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>
Trait Implementations§
§impl Clone for IAlternativeName
impl Clone for IAlternativeName
§fn clone(&self) -> IAlternativeName
fn clone(&self) -> IAlternativeName
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 IAlternativeName
impl Debug for IAlternativeName
§impl From<&IAlternativeName> for &IDispatch
impl From<&IAlternativeName> for &IDispatch
§fn from(value: &IAlternativeName) -> Self
fn from(value: &IAlternativeName) -> Self
Converts to this type from the input type.
§impl From<&IAlternativeName> for &IUnknown
impl From<&IAlternativeName> for &IUnknown
§fn from(value: &IAlternativeName) -> Self
fn from(value: &IAlternativeName) -> Self
Converts to this type from the input type.
§impl From<IAlternativeName> for IDispatch
impl From<IAlternativeName> for IDispatch
§fn from(value: IAlternativeName) -> Self
fn from(value: IAlternativeName) -> Self
Converts to this type from the input type.
§impl From<IAlternativeName> for IUnknown
impl From<IAlternativeName> for IUnknown
§fn from(value: IAlternativeName) -> Self
fn from(value: IAlternativeName) -> Self
Converts to this type from the input type.
§impl Interface for IAlternativeName
impl Interface for IAlternativeName
§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 IAlternativeName
impl PartialEq for IAlternativeName
§fn eq(&self, other: &IAlternativeName) -> bool
fn eq(&self, other: &IAlternativeName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IAlternativeName
impl StructuralPartialEq for IAlternativeName
Auto Trait Implementations§
impl RefUnwindSafe for IAlternativeName
impl !Send for IAlternativeName
impl !Sync for IAlternativeName
impl Unpin for IAlternativeName
impl UnwindSafe for IAlternativeName
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