pub struct CreateProfileContext {
pub ci_data: Option<Value>,
pub contact_with_offers: Option<bool>,
pub country_name: Option<String>,
pub display_name: Option<String>,
pub email_address: Option<String>,
pub has_account: Option<bool>,
pub language: Option<String>,
pub phone_number: Option<String>,
pub profile_state: Option<ProfileState>,
}Fields§
§ci_data: Option<Value>§contact_with_offers: Option<bool>§country_name: Option<String>§display_name: Option<String>§email_address: Option<String>§has_account: Option<bool>§language: Option<String>§phone_number: Option<String>§profile_state: Option<ProfileState>The current state of the profile.
Implementations§
Trait Implementations§
Source§impl Clone for CreateProfileContext
impl Clone for CreateProfileContext
Source§fn clone(&self) -> CreateProfileContext
fn clone(&self) -> CreateProfileContext
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 Debug for CreateProfileContext
impl Debug for CreateProfileContext
Source§impl Default for CreateProfileContext
impl Default for CreateProfileContext
Source§fn default() -> CreateProfileContext
fn default() -> CreateProfileContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateProfileContext
impl<'de> Deserialize<'de> for CreateProfileContext
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 CreateProfileContext
impl PartialEq for CreateProfileContext
Source§impl Serialize for CreateProfileContext
impl Serialize for CreateProfileContext
impl StructuralPartialEq for CreateProfileContext
Auto Trait Implementations§
impl Freeze for CreateProfileContext
impl RefUnwindSafe for CreateProfileContext
impl Send for CreateProfileContext
impl Sync for CreateProfileContext
impl Unpin for CreateProfileContext
impl UnwindSafe for CreateProfileContext
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