pub struct AutocryptHeader {
pub header_type: AutocryptHeaderType,
pub key: Option<Cert>,
pub attributes: Vec<Attribute>,
}Expand description
A parsed Autocrypt header.
Fields§
§header_type: AutocryptHeaderTypeWhether this is an “Autocrypt” or “Autocrypt-Gossip” header.
key: Option<Cert>The parsed key data.
attributes: Vec<Attribute>All attributes.
Implementations§
Source§impl AutocryptHeader
impl AutocryptHeader
Trait Implementations§
Source§impl Debug for AutocryptHeader
impl Debug for AutocryptHeader
Source§impl PartialEq for AutocryptHeader
impl PartialEq for AutocryptHeader
impl StructuralPartialEq for AutocryptHeader
Auto Trait Implementations§
impl !Freeze for AutocryptHeader
impl RefUnwindSafe for AutocryptHeader
impl Send for AutocryptHeader
impl Sync for AutocryptHeader
impl Unpin for AutocryptHeader
impl UnsafeUnpin for AutocryptHeader
impl UnwindSafe for AutocryptHeader
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