Struct openssl::x509::X509NameEntryRef
source · [−]pub struct X509NameEntryRef(_);
Expand description
Reference to X509NameEntry
.
Implementations
sourceimpl X509NameEntryRef
impl X509NameEntryRef
sourcepub fn data(&self) -> &Asn1StringRef
pub fn data(&self) -> &Asn1StringRef
Returns the field value of an X509NameEntry
.
This corresponds to X509_NAME_ENTRY_get_data
.
sourcepub fn object(&self) -> &Asn1ObjectRef
pub fn object(&self) -> &Asn1ObjectRef
Returns the Asn1Object
value of an X509NameEntry
.
This is useful for finding out about the actual Nid
when iterating over all X509NameEntries
.
This corresponds to X509_NAME_ENTRY_get_object
.
Trait Implementations
sourceimpl AsRef<X509NameEntryRef> for X509NameEntry
impl AsRef<X509NameEntryRef> for X509NameEntry
sourcefn as_ref(&self) -> &X509NameEntryRef
fn as_ref(&self) -> &X509NameEntryRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<X509NameEntryRef> for X509NameEntry
impl Borrow<X509NameEntryRef> for X509NameEntry
sourcefn borrow(&self) -> &X509NameEntryRef
fn borrow(&self) -> &X509NameEntryRef
Immutably borrows from an owned value. Read more
sourceimpl Debug for X509NameEntryRef
impl Debug for X509NameEntryRef
sourceimpl ForeignTypeRef for X509NameEntryRef
impl ForeignTypeRef for X509NameEntryRef
impl Send for X509NameEntryRef
impl Sync for X509NameEntryRef
Auto Trait Implementations
impl !RefUnwindSafe for X509NameEntryRef
impl Unpin for X509NameEntryRef
impl UnwindSafe for X509NameEntryRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more