pub struct VerificationCode {
pub kind: Option<String>,
pub etag: Option<String>,
pub user_id: Option<String>,
pub verification_code: Option<String>,
}Expand description
JSON template for verification codes in Directory API.
§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).
- invalidate verification codes (none)
- list verification codes (none)
- generate verification codes (none)
Fields§
§kind: Option<String>The type of the resource. This is always admin#directory#verificationCode.
etag: Option<String>ETag of the resource.
user_id: Option<String>The obfuscated unique ID of the user.
verification_code: Option<String>A current verification code for the user. Invalidated or used verification codes are not returned as part of the result.
Trait Implementations§
Source§impl Clone for VerificationCode
impl Clone for VerificationCode
Source§fn clone(&self) -> VerificationCode
fn clone(&self) -> VerificationCode
Returns a duplicate 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 VerificationCode
impl Debug for VerificationCode
Source§impl Default for VerificationCode
impl Default for VerificationCode
Source§fn default() -> VerificationCode
fn default() -> VerificationCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerificationCode
impl<'de> Deserialize<'de> for VerificationCode
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 VerificationCode
impl Serialize for VerificationCode
impl Resource for VerificationCode
Auto Trait Implementations§
impl Freeze for VerificationCode
impl RefUnwindSafe for VerificationCode
impl Send for VerificationCode
impl Sync for VerificationCode
impl Unpin for VerificationCode
impl UnwindSafe for VerificationCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more