Struct synapse_admin_api::users::list_users::v2::UserMinorDetails
source · pub struct UserMinorDetails {
pub name: String,
pub user_type: Option<String>,
pub is_guest: bool,
pub admin: bool,
pub deactivated: bool,
pub displayname: String,
pub avatar_url: Option<String>,
pub locked: bool,
}
Expand description
A minor set of user details.
Fields§
§name: String
The user’s name.
user_type: Option<String>
todo: doc but I do not know what this is
is_guest: bool
Is the account a guest
admin: bool
Is the user a server admin
deactivated: bool
Is the account deactivated
displayname: String
The user’s display name, if set.
avatar_url: Option<String>
The user’s avatar URL, if set.
locked: bool
Whether the account is locked.
Trait Implementations§
source§impl Clone for UserMinorDetails
impl Clone for UserMinorDetails
source§fn clone(&self) -> UserMinorDetails
fn clone(&self) -> UserMinorDetails
Returns a copy 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 UserMinorDetails
impl Debug for UserMinorDetails
source§impl<'de> Deserialize<'de> for UserMinorDetails
impl<'de> Deserialize<'de> for UserMinorDetails
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 RefUnwindSafe for UserMinorDetails
impl Send for UserMinorDetails
impl Sync for UserMinorDetails
impl Unpin for UserMinorDetails
impl UnwindSafe for UserMinorDetails
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