pub struct RacerDetails {
    pub driver_id: UserId,
    pub position: Option<i32>,
    pub car_id: RaceCarId,
    pub car_item_id: ItemId,
    pub car_item_name: String,
    pub car_class: RaceClassEnum,
    pub has_crashed: Option<bool>,
    pub best_lap_time: Option<f64>,
    pub race_time: Option<f64>,
    pub time_ended: Option<i32>,
}Fields§
§driver_id: UserId§position: Option<i32>§car_id: RaceCarId§car_item_id: ItemId§car_item_name: String§car_class: RaceClassEnum§has_crashed: Option<bool>§best_lap_time: Option<f64>§race_time: Option<f64>§time_ended: Option<i32>Trait Implementations§
Source§impl Clone for RacerDetails
 
impl Clone for RacerDetails
Source§fn clone(&self) -> RacerDetails
 
fn clone(&self) -> RacerDetails
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 RacerDetails
 
impl Debug for RacerDetails
Source§impl<'de> Deserialize<'de> for RacerDetails
 
impl<'de> Deserialize<'de> for RacerDetails
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 PartialEq for RacerDetails
 
impl PartialEq for RacerDetails
impl StructuralPartialEq for RacerDetails
Auto Trait Implementations§
impl Freeze for RacerDetails
impl RefUnwindSafe for RacerDetails
impl Send for RacerDetails
impl Sync for RacerDetails
impl Unpin for RacerDetails
impl UnwindSafe for RacerDetails
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