pub struct UserDetail {Show 13 fields
pub id: u64,
pub username: String,
pub name: Option<String>,
pub email: Option<String>,
pub trust_level: Option<u64>,
pub admin: Option<bool>,
pub moderator: Option<bool>,
pub suspended_till: Option<String>,
pub silenced_till: Option<String>,
pub last_seen_at: Option<String>,
pub created_at: Option<String>,
pub post_count: Option<u64>,
pub groups: Vec<Value>,
}Expand description
Distilled /users/
Fields§
§id: u64§username: String§name: Option<String>§email: Option<String>§trust_level: Option<u64>§admin: Option<bool>§moderator: Option<bool>§suspended_till: Option<String>§silenced_till: Option<String>§last_seen_at: Option<String>§created_at: Option<String>§post_count: Option<u64>§groups: Vec<Value>Trait Implementations§
Source§impl Clone for UserDetail
impl Clone for UserDetail
Source§fn clone(&self) -> UserDetail
fn clone(&self) -> UserDetail
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 Debug for UserDetail
impl Debug for UserDetail
Source§impl<'de> Deserialize<'de> for UserDetail
impl<'de> Deserialize<'de> for UserDetail
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 Freeze for UserDetail
impl RefUnwindSafe for UserDetail
impl Send for UserDetail
impl Sync for UserDetail
impl Unpin for UserDetail
impl UnsafeUnpin for UserDetail
impl UnwindSafe for UserDetail
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