pub struct EmailContactMethod {
pub html_url: Option<String>,
pub _self: Option<String>,
pub summary: Option<String>,
pub id: Option<String>,
pub _type: EmailContactMethodTypeEnum,
pub label: String,
pub address: String,
pub send_short_email: Option<bool>,
}Expand description
The Email Contact Method of the User.
Fields§
§html_url: Option<String>a URL at which the entity is uniquely displayed in the Web app
_self: Option<String>the API show URL at which the object is accessible
summary: Option<String>A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
id: Option<String>§_type: EmailContactMethodTypeEnum§label: StringThe label (e.g., "Work", "Mobile", etc.).
address: StringThe "address" to deliver to: email, phone number, etc., depending on the type.
send_short_email: Option<bool>Send an abbreviated email message instead of the standard email output. Useful for email-to-SMS gateways and email based pagers.
Trait Implementations§
Source§impl Clone for EmailContactMethod
impl Clone for EmailContactMethod
Source§fn clone(&self) -> EmailContactMethod
fn clone(&self) -> EmailContactMethod
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 EmailContactMethod
impl Debug for EmailContactMethod
Source§impl Default for EmailContactMethod
impl Default for EmailContactMethod
Source§impl<'de> Deserialize<'de> for EmailContactMethod
impl<'de> Deserialize<'de> for EmailContactMethod
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 PartialEq for EmailContactMethod
impl PartialEq for EmailContactMethod
Source§impl Serialize for EmailContactMethod
impl Serialize for EmailContactMethod
impl StructuralPartialEq for EmailContactMethod
Auto Trait Implementations§
impl Freeze for EmailContactMethod
impl RefUnwindSafe for EmailContactMethod
impl Send for EmailContactMethod
impl Sync for EmailContactMethod
impl Unpin for EmailContactMethod
impl UnwindSafe for EmailContactMethod
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