pub struct AuthUserResponse {
pub user_id: i64,
pub login_name: String,
pub display_name: String,
pub is_admin: bool,
pub disabled_at: Option<DateTime<Utc>>,
pub personal_group_key: String,
pub personal_group_role: Option<MembershipRole>,
}Fields§
§user_id: i64§login_name: String§display_name: String§is_admin: bool§disabled_at: Option<DateTime<Utc>>§personal_group_key: String§personal_group_role: Option<MembershipRole>Trait Implementations§
Source§impl Clone for AuthUserResponse
impl Clone for AuthUserResponse
Source§fn clone(&self) -> AuthUserResponse
fn clone(&self) -> AuthUserResponse
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 ComposeSchema for AuthUserResponse
impl ComposeSchema for AuthUserResponse
Source§impl Debug for AuthUserResponse
impl Debug for AuthUserResponse
Source§impl<'de> Deserialize<'de> for AuthUserResponse
impl<'de> Deserialize<'de> for AuthUserResponse
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 Serialize for AuthUserResponse
impl Serialize for AuthUserResponse
Auto Trait Implementations§
impl Freeze for AuthUserResponse
impl RefUnwindSafe for AuthUserResponse
impl Send for AuthUserResponse
impl Sync for AuthUserResponse
impl Unpin for AuthUserResponse
impl UnsafeUnpin for AuthUserResponse
impl UnwindSafe for AuthUserResponse
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