Struct mbedtls_sys::x509write_cert
source · [−]#[repr(C)]pub struct x509write_cert {
pub version: c_int,
pub serial: mpi,
pub subject_key: *mut pk_context,
pub issuer_key: *mut pk_context,
pub subject: *mut asn1_named_data,
pub issuer: *mut asn1_named_data,
pub md_alg: md_type_t,
pub not_before: [c_char; 16],
pub not_after: [c_char; 16],
pub extensions: *mut asn1_named_data,
}
Fields
version: c_int
serial: mpi
subject_key: *mut pk_context
issuer_key: *mut pk_context
subject: *mut asn1_named_data
issuer: *mut asn1_named_data
md_alg: md_type_t
not_before: [c_char; 16]
not_after: [c_char; 16]
extensions: *mut asn1_named_data
Trait Implementations
sourceimpl Clone for x509write_cert
impl Clone for x509write_cert
sourcefn clone(&self) -> x509write_cert
fn clone(&self) -> x509write_cert
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for x509write_cert
impl Default for x509write_cert
impl Copy for x509write_cert
Auto Trait Implementations
impl RefUnwindSafe for x509write_cert
impl !Send for x509write_cert
impl !Sync for x509write_cert
impl Unpin for x509write_cert
impl UnwindSafe for x509write_cert
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more