pub struct ApplicationUser {
pub id: String,
pub uri: String,
pub identity_provider: IdentityProvider,
pub provider_user_id: String,
pub username: String,
pub email: String,
pub name: String,
pub created_at: String,
pub last_active: String,
pub last_login: String,
}
Fields§
§id: String
unique application user resource identifier
uri: String
URI of the application user API resource
identity_provider: IdentityProvider
identity provider that the user authenticated with
provider_user_id: String
unique user identifier
username: String
user username
email: String
user email
name: String
user common name
created_at: String
timestamp when the user was created in RFC 3339 format
last_active: String
timestamp when the user was last active in RFC 3339 format
last_login: String
timestamp when the user last signed-in in RFC 3339 format
Trait Implementations§
Source§impl Clone for ApplicationUser
impl Clone for ApplicationUser
Source§fn clone(&self) -> ApplicationUser
fn clone(&self) -> ApplicationUser
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 ApplicationUser
impl Debug for ApplicationUser
Source§impl Default for ApplicationUser
impl Default for ApplicationUser
Source§fn default() -> ApplicationUser
fn default() -> ApplicationUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationUser
impl<'de> Deserialize<'de> for ApplicationUser
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 ApplicationUser
impl RefUnwindSafe for ApplicationUser
impl Send for ApplicationUser
impl Sync for ApplicationUser
impl Unpin for ApplicationUser
impl UnwindSafe for ApplicationUser
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