pub struct UserResp {
pub email: Option<String>,
pub realname: Option<String>,
pub comment: Option<String>,
pub user_id: Option<i32>,
pub username: Option<String>,
pub sysadmin_flag: Option<bool>,
pub admin_role_in_auth: Option<bool>,
pub oidc_user_meta: Option<Box<OidcUserInfo>>,
pub creation_time: Option<String>,
pub update_time: Option<String>,
}Fields§
§email: Option<String>§realname: Option<String>§comment: Option<String>§user_id: Option<i32>§username: Option<String>§sysadmin_flag: Option<bool>§admin_role_in_auth: Option<bool>indicate the admin privilege is grant by authenticator (LDAP), is always false unless it is the current login user
oidc_user_meta: Option<Box<OidcUserInfo>>§creation_time: Option<String>The creation time of the user.
update_time: Option<String>The update time of the user.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserResp
impl<'de> Deserialize<'de> for UserResp
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 UserResp
Auto Trait Implementations§
impl Freeze for UserResp
impl RefUnwindSafe for UserResp
impl Send for UserResp
impl Sync for UserResp
impl Unpin for UserResp
impl UnwindSafe for UserResp
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