pub struct IdentityContext {
pub email: Option<String>,
pub external_id: Option<String>,
pub phone: Option<String>,
pub ip: Option<String>,
pub user_agent: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub city: Option<String>,
pub country_code: Option<String>,
}Fields§
§email: Option<String>§external_id: Option<String>§phone: Option<String>§ip: Option<String>§user_agent: Option<String>§first_name: Option<String>§last_name: Option<String>§city: Option<String>§country_code: Option<String>Trait Implementations§
Source§impl Clone for IdentityContext
impl Clone for IdentityContext
Source§fn clone(&self) -> IdentityContext
fn clone(&self) -> IdentityContext
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 IdentityContext
impl Debug for IdentityContext
Source§impl Default for IdentityContext
impl Default for IdentityContext
Source§fn default() -> IdentityContext
fn default() -> IdentityContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdentityContext
impl<'de> Deserialize<'de> for IdentityContext
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
Auto Trait Implementations§
impl Freeze for IdentityContext
impl RefUnwindSafe for IdentityContext
impl Send for IdentityContext
impl Sync for IdentityContext
impl Unpin for IdentityContext
impl UnwindSafe for IdentityContext
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