Struct sequoia_autocrypt::Attribute
source · pub struct Attribute {
pub critical: bool,
pub key: String,
pub value: String,
}
Expand description
An autocrypt header attribute.
Fields§
§critical: bool
Whether the attribute is critical.
key: String
The attribute’s name.
If the attribute is not critical, the leading underscore has been stripped.
value: String
The attribute’s value.
Trait Implementations§
source§impl PartialEq<Attribute> for Attribute
impl PartialEq<Attribute> for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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