pub struct UserDetails {
pub username: String,
pub display_name: String,
pub id: u64,
pub description: String,
pub created_at: String,
pub is_terminated: bool,
pub has_verified_badge: bool,
}Expand description
The details of a user. Fetched from https://users.roblox.com/v1/users/{user_id}.
Fields§
§username: String§display_name: String§id: u64§description: String§created_at: StringA time string of when the account was created. Follows ISO 8061 format.
is_terminated: boolWhether the account is terminated. Does not include non-termination bans.
has_verified_badge: boolTrait Implementations§
Source§impl Clone for UserDetails
impl Clone for UserDetails
Source§fn clone(&self) -> UserDetails
fn clone(&self) -> UserDetails
Returns a duplicate 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 UserDetails
impl Debug for UserDetails
Source§impl Default for UserDetails
impl Default for UserDetails
Source§fn default() -> UserDetails
fn default() -> UserDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserDetails
impl<'de> Deserialize<'de> for UserDetails
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 Hash for UserDetails
impl Hash for UserDetails
Source§impl Ord for UserDetails
impl Ord for UserDetails
Source§fn cmp(&self, other: &UserDetails) -> Ordering
fn cmp(&self, other: &UserDetails) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserDetails
impl PartialEq for UserDetails
Source§impl PartialOrd for UserDetails
impl PartialOrd for UserDetails
Source§impl Serialize for UserDetails
impl Serialize for UserDetails
impl Eq for UserDetails
impl StructuralPartialEq for UserDetails
Auto Trait Implementations§
impl Freeze for UserDetails
impl RefUnwindSafe for UserDetails
impl Send for UserDetails
impl Sync for UserDetails
impl Unpin for UserDetails
impl UnwindSafe for UserDetails
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