pub struct PrivateUserData {
pub id: i64,
pub login: String,
pub admin_level: AdminLevel,
pub created_at: DateTime<Utc>,
}Expand description
User data which is avaible only for user
Fields§
§id: i64User id
login: StringLogin
admin_level: AdminLevelAdmin level
created_at: DateTime<Utc>Timestamp when account was created
Trait Implementations§
Source§impl Clone for PrivateUserData
impl Clone for PrivateUserData
Source§fn clone(&self) -> PrivateUserData
fn clone(&self) -> PrivateUserData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrivateUserData
impl Debug for PrivateUserData
Source§impl<'de> Deserialize<'de> for PrivateUserData
impl<'de> Deserialize<'de> for PrivateUserData
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 PrivateUserData
impl RefUnwindSafe for PrivateUserData
impl Send for PrivateUserData
impl Sync for PrivateUserData
impl Unpin for PrivateUserData
impl UnsafeUnpin for PrivateUserData
impl UnwindSafe for PrivateUserData
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