[][src]Struct iracing::session::WeekendInfo

pub struct WeekendInfo {
    pub track_name: String,
    pub track_id: u32,
    pub track_length: String,
    pub track_display_name: String,
    pub track_display_short_name: String,
    pub track_config_name: String,
    pub track_city: String,
    pub track_country: String,
    pub track_altitude: String,
    pub track_latitude: String,
    pub track_longitude: String,
    pub track_north_offset: String,
    pub track_turns: u32,
    pub track_pit_speed_limit: String,
    pub track_type: String,
    pub track_weather: String,
    pub track_skies: String,
    pub track_surface_temperature: String,
    pub track_air_tempearture: String,
    pub track_air_pressure: String,
    pub track_wind_speed: String,
    pub track_wind_direction: String,
    pub track_fog_level: String,
    pub track_cleanup: i32,
    pub track_dynamic: i32,
    pub series_id: i32,
    pub season_id: i32,
    pub session_id: i32,
    pub sub_session_id: i32,
    pub league_id: i32,
    pub official: i8,
    pub race_week: i32,
    pub event_type: String,
    pub category: String,
    pub sim_mode: String,
    pub team_racing: i8,
    pub min_drivers: i8,
    pub max_drivers: i8,
    pub dc_rule_set: String,
    pub qualifier_must_start_race: i8,
    pub n_classes: u32,
    pub n_car_types: u32,
    pub options: WeekendOptions,
}

Details of the race weekend. Including details of the track being raced, the weather, racing series, and the rules in play for the session.

Fields

track_name: Stringtrack_id: u32track_length: Stringtrack_display_name: Stringtrack_display_short_name: Stringtrack_config_name: Stringtrack_city: Stringtrack_country: Stringtrack_altitude: Stringtrack_latitude: Stringtrack_longitude: Stringtrack_north_offset: Stringtrack_turns: u32track_pit_speed_limit: Stringtrack_type: Stringtrack_weather: Stringtrack_skies: Stringtrack_surface_temperature: Stringtrack_air_tempearture: Stringtrack_air_pressure: Stringtrack_wind_speed: Stringtrack_wind_direction: Stringtrack_fog_level: Stringtrack_cleanup: i32track_dynamic: i32series_id: i32season_id: i32session_id: i32sub_session_id: i32league_id: i32official: i8race_week: i32event_type: Stringcategory: Stringsim_mode: Stringteam_racing: i8min_drivers: i8max_drivers: i8dc_rule_set: Stringqualifier_must_start_race: i8n_classes: u32n_car_types: u32options: WeekendOptions

Trait Implementations

impl Clone for WeekendInfo[src]

impl Debug for WeekendInfo[src]

impl<'de> Deserialize<'de> for WeekendInfo[src]

impl Serialize for WeekendInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.