pub struct X509NameEntryRef(/* private fields */);
Expand description
A borrowed reference to a X509NameEntry
.
Implementations§
Source§impl 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§
Source§impl AsMut<X509NameEntryRef> for X509NameEntry
impl AsMut<X509NameEntryRef> for X509NameEntry
Source§fn as_mut(&mut self) -> &mut X509NameEntryRef
fn as_mut(&mut self) -> &mut X509NameEntryRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<X509NameEntryRef> for X509NameEntry
impl AsRef<X509NameEntryRef> for X509NameEntry
Source§fn as_ref(&self) -> &X509NameEntryRef
fn as_ref(&self) -> &X509NameEntryRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<X509NameEntryRef> for X509NameEntry
impl Borrow<X509NameEntryRef> for X509NameEntry
Source§fn borrow(&self) -> &X509NameEntryRef
fn borrow(&self) -> &X509NameEntryRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<X509NameEntryRef> for X509NameEntry
impl BorrowMut<X509NameEntryRef> for X509NameEntry
Source§fn borrow_mut(&mut self) -> &mut X509NameEntryRef
fn borrow_mut(&mut self) -> &mut X509NameEntryRef
Mutably borrows from an owned value. Read more
Source§impl Debug for X509NameEntryRef
impl Debug for X509NameEntryRef
Source§impl ForeignTypeRef for X509NameEntryRef
impl ForeignTypeRef for X509NameEntryRef
Source§type CType = X509_name_entry_st
type CType = X509_name_entry_st
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
impl Send for X509NameEntryRef
impl Sync for X509NameEntryRef
Auto Trait Implementations§
impl Freeze for X509NameEntryRef
impl !RefUnwindSafe for X509NameEntryRef
impl Unpin for X509NameEntryRef
impl UnwindSafe for X509NameEntryRef
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