pub struct DeviceTokenResponseUser {
pub email: String,
pub first_name: Option<String>,
pub id: String,
pub last_name: Option<String>,
pub additional: BTreeMap<String, Value>,
}Expand description
Profile of the authenticated user.
Fields§
§email: StringAuthenticated user’s email address.
first_name: Option<String>User’s first name, or null when not set.
id: StringAuthenticated user’s identity identifier; distinct from the Photon Account ID.
last_name: Option<String>User’s last name, or null when not set.
additional: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for DeviceTokenResponseUser
impl Clone for DeviceTokenResponseUser
Source§impl Debug for DeviceTokenResponseUser
impl Debug for DeviceTokenResponseUser
Source§impl<'de> Deserialize<'de> for DeviceTokenResponseUser
impl<'de> Deserialize<'de> for DeviceTokenResponseUser
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 DeviceTokenResponseUser
impl RefUnwindSafe for DeviceTokenResponseUser
impl Send for DeviceTokenResponseUser
impl Sync for DeviceTokenResponseUser
impl Unpin for DeviceTokenResponseUser
impl UnsafeUnpin for DeviceTokenResponseUser
impl UnwindSafe for DeviceTokenResponseUser
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