pub struct GmailAutoForwarding {
pub enabled: bool,
pub email_address: Option<String>,
pub disposition: Option<GmailDisposition>,
}Expand description
Auto-forwarding settings of a Gmail account.
Fields§
§enabled: boolWhether all incoming mail is automatically forwarded to another address.
email_address: Option<String>Email address to which all incoming messages are forwarded.
disposition: Option<GmailDisposition>Action applied to messages after they have been forwarded.
Trait Implementations§
Source§impl Clone for GmailAutoForwarding
impl Clone for GmailAutoForwarding
Source§fn clone(&self) -> GmailAutoForwarding
fn clone(&self) -> GmailAutoForwarding
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 GmailAutoForwarding
impl Debug for GmailAutoForwarding
Source§impl Default for GmailAutoForwarding
impl Default for GmailAutoForwarding
Source§fn default() -> GmailAutoForwarding
fn default() -> GmailAutoForwarding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GmailAutoForwarding
impl<'de> Deserialize<'de> for GmailAutoForwarding
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
impl Eq for GmailAutoForwarding
Source§impl PartialEq for GmailAutoForwarding
impl PartialEq for GmailAutoForwarding
Source§impl Serialize for GmailAutoForwarding
impl Serialize for GmailAutoForwarding
impl StructuralPartialEq for GmailAutoForwarding
Auto Trait Implementations§
impl Freeze for GmailAutoForwarding
impl RefUnwindSafe for GmailAutoForwarding
impl Send for GmailAutoForwarding
impl Sync for GmailAutoForwarding
impl Unpin for GmailAutoForwarding
impl UnsafeUnpin for GmailAutoForwarding
impl UnwindSafe for GmailAutoForwarding
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