Struct google_gmail1::api::SmimeInfo [−][src]
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).
- settings send as smime info get users (response)
- settings send as smime info insert users (request|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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for SmimeInfo[src]
impl ResponseResult for SmimeInfo[src]
impl Serialize for SmimeInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for SmimeInfo
impl Send for SmimeInfo
impl Sync for SmimeInfo
impl Unpin for SmimeInfo
impl UnwindSafe for SmimeInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,