Struct google_gmail1::api::CseIdentity
source · pub struct CseIdentity {
pub email_address: Option<String>,
pub primary_key_pair_id: Option<String>,
pub sign_and_encrypt_key_pairs: Option<SignAndEncryptKeyPairs>,
}
Expand description
The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.
§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 cse identities create users (request|response)
- settings cse identities get users (response)
- settings cse identities patch users (request|response)
Fields§
§email_address: Option<String>
The email address for the sending identity. The email address must be the primary email address of the authenticated user.
primary_key_pair_id: Option<String>
If a key pair is associated, the ID of the key pair, CseKeyPair.
sign_and_encrypt_key_pairs: Option<SignAndEncryptKeyPairs>
The configuration of a CSE identity that uses different key pairs for signing and encryption.
Trait Implementations§
source§impl Clone for CseIdentity
impl Clone for CseIdentity
source§fn clone(&self) -> CseIdentity
fn clone(&self) -> CseIdentity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CseIdentity
impl Debug for CseIdentity
source§impl Default for CseIdentity
impl Default for CseIdentity
source§fn default() -> CseIdentity
fn default() -> CseIdentity
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CseIdentity
impl<'de> Deserialize<'de> for CseIdentity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for CseIdentity
impl Serialize for CseIdentity
impl RequestValue for CseIdentity
impl ResponseResult for CseIdentity
Auto Trait Implementations§
impl RefUnwindSafe for CseIdentity
impl Send for CseIdentity
impl Sync for CseIdentity
impl Unpin for CseIdentity
impl UnwindSafe for CseIdentity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more