Struct openssl::x509::X509NameEntry [−]
pub struct X509NameEntry(_);
A name entry associated with a X509Name.
Methods from Deref<Target = X509NameEntryRef>
pub fn data(&self) -> &Asn1StringRef[src]
pub fn data(&self) -> &Asn1StringRefReturns the field value of an X509NameEntry.
This corresponds to X509_NAME_ENTRY_get_data.
Trait Implementations
impl ForeignType for X509NameEntry
impl ForeignType for X509NameEntrytype CType = X509_NAME_ENTRY
The raw C type.
type Ref = X509NameEntryRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut X509_NAME_ENTRY) -> X509NameEntry
unsafe fn from_ptr(ptr: *mut X509_NAME_ENTRY) -> X509NameEntryConstructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut X509_NAME_ENTRY
fn as_ptr(&self) -> *mut X509_NAME_ENTRYReturns a raw pointer to the wrapped value.
impl Drop for X509NameEntry
impl Drop for X509NameEntryimpl Deref for X509NameEntry
impl Deref for X509NameEntrytype Target = X509NameEntryRef
The resulting type after dereferencing.
fn deref(&self) -> &X509NameEntryRef
fn deref(&self) -> &X509NameEntryRefDereferences the value.
impl DerefMut for X509NameEntry
impl DerefMut for X509NameEntryfn deref_mut(&mut self) -> &mut X509NameEntryRef
fn deref_mut(&mut self) -> &mut X509NameEntryRefMutably dereferences the value.
impl Borrow<X509NameEntryRef> for X509NameEntry
impl Borrow<X509NameEntryRef> for X509NameEntryfn borrow(&self) -> &X509NameEntryRef
fn borrow(&self) -> &X509NameEntryRefImmutably borrows from an owned value. Read more
impl AsRef<X509NameEntryRef> for X509NameEntry
impl AsRef<X509NameEntryRef> for X509NameEntryfn as_ref(&self) -> &X509NameEntryRef
fn as_ref(&self) -> &X509NameEntryRefPerforms the conversion.
impl Send for X509NameEntry[src]
impl Send for X509NameEntryimpl Sync for X509NameEntry[src]
impl Sync for X509NameEntry