pub struct Presented {
pub pin: TlsPin,
pub trusted: bool,
}Expand description
What a server presents, for passalong init to show before anything
is trusted.
Fields§
§pin: TlsPinThe pin of its certificate’s public key.
trusted: boolWhether the operating system’s certificate authorities vouch for the certificate and the name.
Trait Implementations§
impl Copy for Presented
impl Eq for Presented
impl StructuralPartialEq for Presented
Auto Trait Implementations§
impl Freeze for Presented
impl RefUnwindSafe for Presented
impl Send for Presented
impl Sync for Presented
impl Unpin for Presented
impl UnsafeUnpin for Presented
impl UnwindSafe for Presented
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