pub struct UserIdentity {
pub display_value: Option<String>,
pub insert_instant: Option<i64>,
pub last_login_instant: Option<i64>,
pub last_update_instant: Option<i64>,
pub moderation_status: Option<ContentStatus>,
pub primary: Option<bool>,
pub type: Option<Box<IdentityType>>,
pub value: Option<String>,
pub verified: Option<bool>,
pub verified_instant: Option<i64>,
pub verified_reason: Option<IdentityVerifiedReason>,
}
Expand description
UserIdentity :
Fields§
§display_value: Option<String>
§insert_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
last_login_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
last_update_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
moderation_status: Option<ContentStatus>
§primary: Option<bool>
§type: Option<Box<IdentityType>>
§value: Option<String>
§verified: Option<bool>
§verified_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
verified_reason: Option<IdentityVerifiedReason>
Implementations§
Source§impl UserIdentity
impl UserIdentity
Sourcepub fn new() -> UserIdentity
pub fn new() -> UserIdentity
Trait Implementations§
Source§impl Clone for UserIdentity
impl Clone for UserIdentity
Source§fn clone(&self) -> UserIdentity
fn clone(&self) -> UserIdentity
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 UserIdentity
impl Debug for UserIdentity
Source§impl Default for UserIdentity
impl Default for UserIdentity
Source§fn default() -> UserIdentity
fn default() -> UserIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserIdentity
impl<'de> Deserialize<'de> for UserIdentity
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 UserIdentity
impl PartialEq for UserIdentity
Source§impl Serialize for UserIdentity
impl Serialize for UserIdentity
impl StructuralPartialEq for UserIdentity
Auto Trait Implementations§
impl Freeze for UserIdentity
impl RefUnwindSafe for UserIdentity
impl Send for UserIdentity
impl Sync for UserIdentity
impl Unpin for UserIdentity
impl UnwindSafe for UserIdentity
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