Struct gmime::AutocryptHeader[]

pub struct AutocryptHeader(_, _);

An object containing Autocrypt information about a given e-mail address, as derived from a message header.

See https://autocrypt.org/ for details and motivation.

Implements

AutocryptHeaderExt

Methods

impl AutocryptHeader
[src]

Creates a new AutocryptHeader object.

Returns

a new AutocryptHeader object.

Creates a new AutocryptHeader object based on the value of an Autocrypt: header.

Note that this will not have an effective_date set, since the effective_date is derived from the Date: line in the same block of e-mail headers, but cannot be extracted from the raw Autocrypt: header itself.

string

The raw string value of an Autocrypt header

Returns

a new AutocryptHeader object, or None on error.

Trait Implementations

impl Clone for AutocryptHeader

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AutocryptHeader

Formats the value using the given formatter. Read more

impl Hash for AutocryptHeader

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for AutocryptHeader

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for AutocryptHeader

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

This method tests for !=.

impl Eq for AutocryptHeader

impl IsA<Object> for AutocryptHeader

impl Default for AutocryptHeader
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for AutocryptHeader

impl !Sync for AutocryptHeader