pub struct TrialSendVerificationEmailRequestModel {
pub name: Option<String>,
pub email: Option<String>,
pub receive_marketing_emails: Option<bool>,
pub product_tier: Option<ProductTierType>,
pub products: Option<Vec<ProductType>>,
}
Fields§
§name: Option<String>
§email: Option<String>
§receive_marketing_emails: Option<bool>
§product_tier: Option<ProductTierType>
§products: Option<Vec<ProductType>>
Implementations§
Source§impl TrialSendVerificationEmailRequestModel
impl TrialSendVerificationEmailRequestModel
pub fn new(email: Option<String>) -> TrialSendVerificationEmailRequestModel
Trait Implementations§
Source§impl Clone for TrialSendVerificationEmailRequestModel
impl Clone for TrialSendVerificationEmailRequestModel
Source§fn clone(&self) -> TrialSendVerificationEmailRequestModel
fn clone(&self) -> TrialSendVerificationEmailRequestModel
Returns a copy 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 Default for TrialSendVerificationEmailRequestModel
impl Default for TrialSendVerificationEmailRequestModel
Source§fn default() -> TrialSendVerificationEmailRequestModel
fn default() -> TrialSendVerificationEmailRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrialSendVerificationEmailRequestModel
impl<'de> Deserialize<'de> for TrialSendVerificationEmailRequestModel
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 TrialSendVerificationEmailRequestModel
impl PartialEq for TrialSendVerificationEmailRequestModel
Source§fn eq(&self, other: &TrialSendVerificationEmailRequestModel) -> bool
fn eq(&self, other: &TrialSendVerificationEmailRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TrialSendVerificationEmailRequestModel
Auto Trait Implementations§
impl Freeze for TrialSendVerificationEmailRequestModel
impl RefUnwindSafe for TrialSendVerificationEmailRequestModel
impl Send for TrialSendVerificationEmailRequestModel
impl Sync for TrialSendVerificationEmailRequestModel
impl Unpin for TrialSendVerificationEmailRequestModel
impl UnwindSafe for TrialSendVerificationEmailRequestModel
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