Struct webpki_roots::TrustAnchor
source · pub struct TrustAnchor<'a> {
pub subject: &'a [u8],
pub spki: &'a [u8],
pub name_constraints: Option<&'a [u8]>,
}
Expand description
A trust anchor (sometimes called a root) for validating X.509 certificates
Fields§
§subject: &'a [u8]
§spki: &'a [u8]
§name_constraints: Option<&'a [u8]>
Auto Trait Implementations§
impl<'a> Freeze for TrustAnchor<'a>
impl<'a> RefUnwindSafe for TrustAnchor<'a>
impl<'a> Send for TrustAnchor<'a>
impl<'a> Sync for TrustAnchor<'a>
impl<'a> Unpin for TrustAnchor<'a>
impl<'a> UnwindSafe for TrustAnchor<'a>
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