Struct google_gmail1::api::SmimeInfo[][src]

pub struct SmimeInfo {
    pub encrypted_key_password: Option<String>,
    pub expiration: Option<String>,
    pub id: Option<String>,
    pub is_default: Option<bool>,
    pub issuer_cn: Option<String>,
    pub pem: Option<String>,
    pub pkcs12: Option<String>,
}

An S/MIME email config.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

encrypted_key_password: Option<String>

Encrypted key password, when key is encrypted.

expiration: Option<String>

When the certificate expires (in milliseconds since epoch).

id: Option<String>

The immutable ID for the SmimeInfo.

is_default: Option<bool>

Whether this SmimeInfo is the default one for this user’s send-as address.

issuer_cn: Option<String>

The S/MIME certificate issuer’s common name.

pem: Option<String>

PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key).

pkcs12: Option<String>

PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately.

Trait Implementations

impl Clone for SmimeInfo[src]

impl Debug for SmimeInfo[src]

impl Default for SmimeInfo[src]

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

impl RequestValue for SmimeInfo[src]

impl ResponseResult for SmimeInfo[src]

impl Serialize for SmimeInfo[src]

Auto Trait Implementations

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.