pub struct ApplicationUserData {
pub id: Option<String>,
pub email: Option<String>,
pub email_confirmed: Option<bool>,
pub requires_email_confirmation: Option<bool>,
pub created: Option<f32>,
pub roles: Option<Vec<String>>,
}Fields§
§id: Option<String>The id of the user
email: Option<String>The email of the user
email_confirmed: Option<bool>True if the email has been confirmed by the user
requires_email_confirmation: Option<bool>True if the email requires email confirmation to log in
created: Option<f32>The creation date of the user as a unix timestamp. Null if created before v1.0.5.6
roles: Option<Vec<String>>The roles of the user
Implementations§
Source§impl ApplicationUserData
impl ApplicationUserData
pub fn new() -> ApplicationUserData
Trait Implementations§
Source§impl Clone for ApplicationUserData
impl Clone for ApplicationUserData
Source§fn clone(&self) -> ApplicationUserData
fn clone(&self) -> ApplicationUserData
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 ApplicationUserData
impl Debug for ApplicationUserData
Source§impl Default for ApplicationUserData
impl Default for ApplicationUserData
Source§fn default() -> ApplicationUserData
fn default() -> ApplicationUserData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationUserData
impl<'de> Deserialize<'de> for ApplicationUserData
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 ApplicationUserData
impl PartialEq for ApplicationUserData
Source§impl Serialize for ApplicationUserData
impl Serialize for ApplicationUserData
impl StructuralPartialEq for ApplicationUserData
Auto Trait Implementations§
impl Freeze for ApplicationUserData
impl RefUnwindSafe for ApplicationUserData
impl Send for ApplicationUserData
impl Sync for ApplicationUserData
impl Unpin for ApplicationUserData
impl UnwindSafe for ApplicationUserData
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