#[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_dataTrait Implementations§
Source§impl Clone for x509write_cert
impl Clone for x509write_cert
Source§fn clone(&self) -> x509write_cert
fn clone(&self) -> x509write_cert
Returns a duplicate 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 moreSource§impl Default for x509write_cert
impl Default for x509write_cert
impl Copy for x509write_cert
Auto Trait Implementations§
impl Freeze for x509write_cert
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§
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