pub struct UserModel {
pub created: i64,
pub display_name: Option<Option<String>>,
pub email: String,
pub id: i64,
pub is_active: bool,
pub is_admin: bool,
pub is_blocked: bool,
pub name: String,
pub parent_id: Option<Option<i64>>,
pub parent_type: Option<Option<ParentResourceType>>,
pub type: UserType,
pub updated: i64,
}Fields§
§created: i64§display_name: Option<Option<String>>§email: String§id: i64§is_active: bool§is_admin: bool§is_blocked: bool§name: String§parent_id: Option<Option<i64>>§parent_type: Option<Option<ParentResourceType>>§type: UserType§updated: i64Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserModel
impl<'de> Deserialize<'de> for UserModel
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
impl StructuralPartialEq for UserModel
Auto Trait Implementations§
impl Freeze for UserModel
impl RefUnwindSafe for UserModel
impl Send for UserModel
impl Sync for UserModel
impl Unpin for UserModel
impl UnwindSafe for UserModel
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