#[repr(C)]pub struct x509_purpose_st {
pub purpose: c_int,
pub trust: c_int,
pub flags: c_int,
pub check_purpose: Option<unsafe extern "C" fn(arg1: *const x509_purpose_st, arg2: *const X509, arg3: c_int) -> c_int>,
pub name: *mut c_char,
pub sname: *mut c_char,
pub usr_data: *mut c_void,
}
Fields§
§purpose: c_int
§trust: c_int
§flags: c_int
§check_purpose: Option<unsafe extern "C" fn(arg1: *const x509_purpose_st, arg2: *const X509, arg3: c_int) -> c_int>
§name: *mut c_char
§sname: *mut c_char
§usr_data: *mut c_void
Trait Implementations§
Source§impl Clone for x509_purpose_st
impl Clone for x509_purpose_st
Source§fn clone(&self) -> x509_purpose_st
fn clone(&self) -> x509_purpose_st
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 moreSource§impl Debug for x509_purpose_st
impl Debug for x509_purpose_st
Source§impl Default for x509_purpose_st
impl Default for x509_purpose_st
Source§impl PartialEq for x509_purpose_st
impl PartialEq for x509_purpose_st
impl Copy for x509_purpose_st
impl Eq for x509_purpose_st
impl StructuralPartialEq for x509_purpose_st
Auto Trait Implementations§
impl Freeze for x509_purpose_st
impl RefUnwindSafe for x509_purpose_st
impl !Send for x509_purpose_st
impl !Sync for x509_purpose_st
impl Unpin for x509_purpose_st
impl UnwindSafe for x509_purpose_st
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