Struct synapse_admin_api::users::list_users::v2::UserMinorDetails [−][src]
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>,
}Expand description
A minor set of user details.
Fields
name: StringThe user’s name.
user_type: Option<String>todo: doc but I do not know what this is
is_guest: boolIs the account a guest
admin: boolIs the user a server admin
deactivated: boolIs the account deactivated
displayname: StringThe user’s display name, if set.
avatar_url: Option<String>The user’s avatar URL, if set.
Trait Implementations
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more