pub struct PlayerMatch {
pub id: u64,
pub name: String,
pub display_name: String,
pub avatar_url: Option<String>,
pub verified: bool,
}Expand description
A player found by name.
Fields§
§id: u64§name: String§display_name: String§avatar_url: Option<String>§verified: boolTrait Implementations§
Source§impl Clone for PlayerMatch
impl Clone for PlayerMatch
Source§impl Debug for PlayerMatch
impl Debug for PlayerMatch
impl Eq for PlayerMatch
Source§impl PartialEq for PlayerMatch
impl PartialEq for PlayerMatch
Source§impl Serialize for PlayerMatch
impl Serialize for PlayerMatch
impl StructuralPartialEq for PlayerMatch
Auto Trait Implementations§
impl Freeze for PlayerMatch
impl RefUnwindSafe for PlayerMatch
impl Send for PlayerMatch
impl Sync for PlayerMatch
impl Unpin for PlayerMatch
impl UnsafeUnpin for PlayerMatch
impl UnwindSafe for PlayerMatch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.