pub struct Trust {
pub label: String,
pub issuer: Asn1,
pub serial: Asn1,
pub tls_server_trust: TrustLevel,
pub email_trust: TrustLevel,
pub code_signing_trust: TrustLevel,
pub md5: Option<Blob>,
pub sha1: Option<Blob>,
}
Fields§
§label: String
§issuer: Asn1
§serial: Asn1
§tls_server_trust: TrustLevel
§email_trust: TrustLevel
§code_signing_trust: TrustLevel
§md5: Option<Blob>
§sha1: Option<Blob>
Implementations§
Source§impl Trust
impl Trust
pub fn trust_level(&self, usage: Usage) -> TrustLevel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trust
impl RefUnwindSafe for Trust
impl Send for Trust
impl Sync for Trust
impl Unpin for Trust
impl UnwindSafe for Trust
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