#[repr(C)]
pub struct Certificate {
Show 14 fields pub version: c_long, pub issuer: *mut c_char, pub subject: *mut c_char, pub serial: *mut c_char, pub sha1: ByteArray, pub sha256: ByteArray, pub key_alg: *mut c_char, pub sig_alg: *mut c_char, pub sig_alg_oid: *mut c_char, pub not_before: i64, pub not_after: i64, pub key: *mut c_char, pub issuer_attrs: Attributes, pub subject_attrs: Attributes,
}

Fields§

§version: c_long§issuer: *mut c_char§subject: *mut c_char§serial: *mut c_char§sha1: ByteArray§sha256: ByteArray§key_alg: *mut c_char§sig_alg: *mut c_char§sig_alg_oid: *mut c_char§not_before: i64§not_after: i64§key: *mut c_char§issuer_attrs: Attributes§subject_attrs: Attributes

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.