#[repr(C)]pub struct x509_purpose_st {
pub purpose: i32,
pub trust: i32,
pub flags: i32,
pub check_purpose: Option<unsafe extern "C" fn(_: *const x509_purpose_st, _: *const x509_st, _: i32) -> i32>,
pub name: *mut i8,
pub sname: *mut i8,
pub usr_data: *mut c_void,
}
Fields§
§purpose: i32
§trust: i32
§flags: i32
§check_purpose: Option<unsafe extern "C" fn(_: *const x509_purpose_st, _: *const x509_st, _: i32) -> i32>
§name: *mut i8
§sname: *mut i8
§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
impl Copy 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