pub struct UserRaceCarDetails {Show 18 fields
pub car_item_id: ItemId,
pub car_item_name: String,
pub top_speed: i32,
pub acceleration: i32,
pub braking: i32,
pub dirt: i32,
pub handling: i32,
pub safety: i32,
pub tarmac: i32,
pub class: RaceClassEnum,
pub id: RaceCarId,
pub name: Option<String>,
pub worth: i64,
pub points_spent: i32,
pub races_entered: i32,
pub races_won: i32,
pub is_removed: bool,
pub parts: Vec<RaceCarUpgradeId>,
}
Fields§
§car_item_id: ItemId
§car_item_name: String
§top_speed: i32
§acceleration: i32
§braking: i32
§dirt: i32
§handling: i32
§safety: i32
§tarmac: i32
§class: RaceClassEnum
§id: RaceCarId
§name: Option<String>
§worth: i64
§points_spent: i32
§races_entered: i32
§races_won: i32
§is_removed: bool
§parts: Vec<RaceCarUpgradeId>
Trait Implementations§
Source§impl Clone for UserRaceCarDetails
impl Clone for UserRaceCarDetails
Source§fn clone(&self) -> UserRaceCarDetails
fn clone(&self) -> UserRaceCarDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserRaceCarDetails
impl Debug for UserRaceCarDetails
Source§impl<'de> Deserialize<'de> for UserRaceCarDetails
impl<'de> Deserialize<'de> for UserRaceCarDetails
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 UserRaceCarDetails
impl PartialEq for UserRaceCarDetails
impl StructuralPartialEq for UserRaceCarDetails
Auto Trait Implementations§
impl Freeze for UserRaceCarDetails
impl RefUnwindSafe for UserRaceCarDetails
impl Send for UserRaceCarDetails
impl Sync for UserRaceCarDetails
impl Unpin for UserRaceCarDetails
impl UnwindSafe for UserRaceCarDetails
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