pub struct ProfileIdentity {
pub address: Option<ProfileIdentityAddress>,
pub date_of_birth: Option<String>,
pub email: Option<String>,
pub name: Option<ProfileIdentityName>,
pub phone_number: Option<String>,
pub ssn: Option<String>,
pub ssn_last4: Option<String>,
}Expand description
ProfileIdentity defines the identity data permissioned by the end user during the authorization flow.
Fields§
§address: Option<ProfileIdentityAddress>ProfileIdentityAddress defines the user’s address.
date_of_birth: Option<String>The user’s date of birth.
email: Option<String>The user’s email address.
name: Option<ProfileIdentityName>ProfileIdentityName defines the user’s first name and last name.
phone_number: Option<String>The user’s phone number in E.164 format
ssn: Option<String>The user’s social security number.
ssn_last4: Option<String>The last 4 digits of the user’s social security number.
Trait Implementations§
Source§impl Clone for ProfileIdentity
impl Clone for ProfileIdentity
Source§fn clone(&self) -> ProfileIdentity
fn clone(&self) -> ProfileIdentity
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 ProfileIdentity
impl Debug for ProfileIdentity
Source§impl Default for ProfileIdentity
impl Default for ProfileIdentity
Source§fn default() -> ProfileIdentity
fn default() -> ProfileIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileIdentity
impl<'de> Deserialize<'de> for ProfileIdentity
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 Display for ProfileIdentity
impl Display for ProfileIdentity
Auto Trait Implementations§
impl Freeze for ProfileIdentity
impl RefUnwindSafe for ProfileIdentity
impl Send for ProfileIdentity
impl Sync for ProfileIdentity
impl Unpin for ProfileIdentity
impl UnwindSafe for ProfileIdentity
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