Struct openssl_sys::X509_PURPOSE
source · #[repr(C)]pub struct X509_PURPOSE {
pub purpose: c_int,
pub trust: c_int,
pub flags: c_int,
pub check_purpose: Option<unsafe extern "C" fn(_: *const X509_PURPOSE, _: *const X509, _: 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(_: *const X509_PURPOSE, _: *const X509, _: c_int) -> c_int>
§name: *mut c_char
§sname: *mut c_char
§usr_data: *mut c_void
Auto Trait Implementations§
impl RefUnwindSafe for X509_PURPOSE
impl !Send for X509_PURPOSE
impl !Sync for X509_PURPOSE
impl Unpin for X509_PURPOSE
impl UnwindSafe for X509_PURPOSE
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