pub struct ExtractedGmailCode {
pub code: String,
pub message_id: String,
pub thread_id: Option<String>,
pub from: Option<String>,
pub subject: Option<String>,
pub source_mime_type: String,
}Expand description
Verification code extracted from a Gmail message.
Fields§
§code: StringNumeric verification code.
message_id: StringGmail message id containing the code.
thread_id: Option<String>Optional thread id returned by Gmail.
from: Option<String>Best-effort sender header.
subject: Option<String>Best-effort subject header.
source_mime_type: StringMIME type of the body candidate that produced the code.
Trait Implementations§
Source§impl Clone for ExtractedGmailCode
impl Clone for ExtractedGmailCode
Source§fn clone(&self) -> ExtractedGmailCode
fn clone(&self) -> ExtractedGmailCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExtractedGmailCode
impl Debug for ExtractedGmailCode
Source§impl PartialEq for ExtractedGmailCode
impl PartialEq for ExtractedGmailCode
Source§fn eq(&self, other: &ExtractedGmailCode) -> bool
fn eq(&self, other: &ExtractedGmailCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExtractedGmailCode
impl StructuralPartialEq for ExtractedGmailCode
Auto Trait Implementations§
impl Freeze for ExtractedGmailCode
impl RefUnwindSafe for ExtractedGmailCode
impl Send for ExtractedGmailCode
impl Sync for ExtractedGmailCode
impl Unpin for ExtractedGmailCode
impl UnsafeUnpin for ExtractedGmailCode
impl UnwindSafe for ExtractedGmailCode
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