Struct roboat::users::UsernameUserDetails
source · pub struct UsernameUserDetails {
pub requested_username: String,
pub username: String,
pub display_name: String,
pub id: u64,
pub has_verified_badge: bool,
}
Expand description
The details of a user. Fetched from https://users.roblox.com/v1/usernames/users.
Fields§
§requested_username: String
§username: String
§display_name: String
§id: u64
§has_verified_badge: bool
Trait Implementations§
source§impl Clone for UsernameUserDetails
impl Clone for UsernameUserDetails
source§fn clone(&self) -> UsernameUserDetails
fn clone(&self) -> UsernameUserDetails
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 UsernameUserDetails
impl Debug for UsernameUserDetails
source§impl Default for UsernameUserDetails
impl Default for UsernameUserDetails
source§fn default() -> UsernameUserDetails
fn default() -> UsernameUserDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UsernameUserDetails
impl<'de> Deserialize<'de> for UsernameUserDetails
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 UsernameUserDetails
impl Hash for UsernameUserDetails
source§impl Ord for UsernameUserDetails
impl Ord for UsernameUserDetails
source§fn cmp(&self, other: &UsernameUserDetails) -> Ordering
fn cmp(&self, other: &UsernameUserDetails) -> 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 UsernameUserDetails
impl PartialEq for UsernameUserDetails
source§fn eq(&self, other: &UsernameUserDetails) -> bool
fn eq(&self, other: &UsernameUserDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UsernameUserDetails
impl PartialOrd for UsernameUserDetails
source§fn partial_cmp(&self, other: &UsernameUserDetails) -> Option<Ordering>
fn partial_cmp(&self, other: &UsernameUserDetails) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for UsernameUserDetails
impl Serialize for UsernameUserDetails
impl Eq for UsernameUserDetails
impl StructuralPartialEq for UsernameUserDetails
Auto Trait Implementations§
impl Freeze for UsernameUserDetails
impl RefUnwindSafe for UsernameUserDetails
impl Send for UsernameUserDetails
impl Sync for UsernameUserDetails
impl Unpin for UsernameUserDetails
impl UnwindSafe for UsernameUserDetails
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.