[][src]Struct meli::conf::pgp::PGPSettings

pub struct PGPSettings {
    pub auto_verify_signatures: bool,
    pub auto_decrypt: bool,
    pub auto_sign: bool,
    pub auto_encrypt: bool,
    pub sign_key: Option<String>,
    pub decrypt_key: Option<String>,
    pub encrypt_key: Option<String>,
    pub allow_remote_lookup: ToggleFlag,
    pub remote_lookup_mechanisms: LocateKey,
}

Settings for digital signing and encryption

Fields

auto_verify_signatures: bool

auto verify signed e-mail according to RFC3156 Default: true

auto_decrypt: bool

auto decrypt encrypted e-mail Default: true

auto_sign: bool

always sign sent e-mail Default: false

auto_encrypt: bool

Auto encrypt sent e-mail Default: false

sign_key: Option<String>

Default: None

decrypt_key: Option<String>

Default: None

encrypt_key: Option<String>

Default: None

allow_remote_lookup: ToggleFlag

Allow remote lookups Default: None

remote_lookup_mechanisms: LocateKey

Remote lookup mechanisms. Default: "local,wkd"

Trait Implementations

impl Clone for PGPSettings[src]

impl Debug for PGPSettings[src]

impl Default for PGPSettings[src]

impl<'de> Deserialize<'de> for PGPSettings[src]

impl Serialize for PGPSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for PGPSettings

impl Send for PGPSettings

impl Sync for PGPSettings

impl Unpin for PGPSettings

impl UnwindSafe for PGPSettings

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]