pub struct RacePlayer {
pub name: String,
pub score: i32,
pub id: Option<String>,
pub flair: Option<String>,
pub patron: Option<bool>,
pub patron_color: Option<u32>,
}Fields§
§name: String§score: i32§id: Option<String>§flair: Option<String>§patron: Option<bool>Deprecated: use patron_color instead.
patron_color: Option<u32>Trait Implementations§
Source§impl Clone for RacePlayer
impl Clone for RacePlayer
Source§fn clone(&self) -> RacePlayer
fn clone(&self) -> RacePlayer
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 RacePlayer
impl Debug for RacePlayer
Source§impl<'de> Deserialize<'de> for RacePlayer
impl<'de> Deserialize<'de> for RacePlayer
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 RacePlayer
impl RefUnwindSafe for RacePlayer
impl Send for RacePlayer
impl Sync for RacePlayer
impl Unpin for RacePlayer
impl UnsafeUnpin for RacePlayer
impl UnwindSafe for RacePlayer
Blanket Implementations§
impl<B> BodyBounds for Bwhere
B: Serialize,
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