pub struct Race {
pub id: RaceId,
pub title: String,
pub track_id: RaceTrackId,
pub creator_id: UserId,
pub status: RaceStatusEnum,
pub laps: i32,
pub participants: Participants,
pub schedule: Schedule,
pub requirements: Requirements,
}
Fields§
§id: RaceId
§title: String
§track_id: RaceTrackId
§creator_id: UserId
§status: RaceStatusEnum
§laps: i32
§participants: Participants
§schedule: Schedule
§requirements: Requirements
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Race
impl<'de> Deserialize<'de> for Race
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
impl StructuralPartialEq for Race
Auto Trait Implementations§
impl Freeze for Race
impl RefUnwindSafe for Race
impl Send for Race
impl Sync for Race
impl Unpin for Race
impl UnwindSafe for Race
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