pub struct Certificate {
pub label: String,
pub cert: Asn1,
pub issuer: Asn1,
pub serial: Asn1,
pub subject: Asn1,
}
Fields§
§label: String
§cert: Asn1
§issuer: Asn1
§serial: Asn1
§subject: Asn1
Implementations§
Source§impl Certificate
impl Certificate
pub fn from_raw(obj: RawObject) -> Result<Certificate>
Trait Implementations§
Source§impl Clone for Certificate
impl Clone for Certificate
Source§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
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 moreAuto Trait Implementations§
impl Freeze for Certificate
impl RefUnwindSafe for Certificate
impl Send for Certificate
impl Sync for Certificate
impl Unpin for Certificate
impl UnwindSafe for Certificate
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