pub struct RaceRecord {
pub driver_id: UserId,
pub driver_name: String,
pub car_item_id: ItemId,
pub lap_time: f64,
pub car_item_name: String,
}
Fields§
§driver_id: UserId
§driver_name: String
§car_item_id: ItemId
§lap_time: f64
§car_item_name: String
Trait Implementations§
Source§impl Clone for RaceRecord
impl Clone for RaceRecord
Source§fn clone(&self) -> RaceRecord
fn clone(&self) -> RaceRecord
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 RaceRecord
impl Debug for RaceRecord
Source§impl<'de> Deserialize<'de> for RaceRecord
impl<'de> Deserialize<'de> for RaceRecord
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 RaceRecord
impl PartialEq for RaceRecord
impl StructuralPartialEq for RaceRecord
Auto Trait Implementations§
impl Freeze for RaceRecord
impl RefUnwindSafe for RaceRecord
impl Send for RaceRecord
impl Sync for RaceRecord
impl Unpin for RaceRecord
impl UnwindSafe for RaceRecord
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