Struct autocrypt::Header [] [src]

pub struct Header {
    pub addr: String,
    pub typ: Option<KeyType>,
    pub prefer_encrypt: Option<EncryptPreference>,
    pub keydata: String,
}

Represents an Autocrypt Header

Fields

The single recipient email address this header is valid for.

Key type

Encryption preference,

Public Key, encoded in Base64

Methods

impl Header
[src]

[src]

Trait Implementations

impl PartialEq for Header
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Header
[src]

impl Debug for Header
[src]

[src]

Formats the value using the given formatter.

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for Header
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Header
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more