pub struct CreateEmailAddressRequest {
pub user_id: Option<String>,
pub email_address: Option<String>,
pub verified: Option<Option<bool>>,
pub primary: Option<Option<bool>>,
}Fields§
§user_id: Option<String>The ID representing the user
email_address: Option<String>The new email address. Must adhere to the RFC 5322 specification for email address format.
verified: Option<Option<bool>>When created, the email address will be marked as verified.
primary: Option<Option<bool>>Create this email address as the primary email address for the user. Default: false, unless it is the first email address.
Implementations§
Source§impl CreateEmailAddressRequest
impl CreateEmailAddressRequest
pub fn new() -> CreateEmailAddressRequest
Trait Implementations§
Source§impl Clone for CreateEmailAddressRequest
impl Clone for CreateEmailAddressRequest
Source§fn clone(&self) -> CreateEmailAddressRequest
fn clone(&self) -> CreateEmailAddressRequest
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 CreateEmailAddressRequest
impl Debug for CreateEmailAddressRequest
Source§impl<'de> Deserialize<'de> for CreateEmailAddressRequest
impl<'de> Deserialize<'de> for CreateEmailAddressRequest
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 StructuralPartialEq for CreateEmailAddressRequest
Auto Trait Implementations§
impl Freeze for CreateEmailAddressRequest
impl RefUnwindSafe for CreateEmailAddressRequest
impl Send for CreateEmailAddressRequest
impl Sync for CreateEmailAddressRequest
impl Unpin for CreateEmailAddressRequest
impl UnwindSafe for CreateEmailAddressRequest
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