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>,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.