pub struct WeatherForecastSample {
pub session_type: SessionType,
pub time_offset: u8,
pub weather: Weather,
pub track_temperature: i8,
pub track_temperature_change: WeatherTemperatureTrend,
pub air_temperature: i8,
pub air_temperature_change: WeatherTemperatureTrend,
pub rain_percentage: u8,
}Fields§
§session_type: SessionType§time_offset: u8§weather: Weather§track_temperature: i8§track_temperature_change: WeatherTemperatureTrend§air_temperature: i8§air_temperature_change: WeatherTemperatureTrend§rain_percentage: u8Trait Implementations§
Source§impl BinRead for WeatherForecastSample
impl BinRead for WeatherForecastSample
Source§type Args = ()
type Args = ()
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
Source§fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binread_generated_var_reader: &mut R, __binread_generated_var_options: &ReadOptions, __binread_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Read the type from the reader
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read the type from the reader while assuming no arguments have been passed Read more
Source§fn read_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
Read the type from the reader using the specified arguments
fn after_parse<R>( &mut self, _: &mut R, _: &ReadOptions, _: Self::Args, ) -> Result<(), Error>
Source§impl Debug for WeatherForecastSample
impl Debug for WeatherForecastSample
Source§impl Default for WeatherForecastSample
impl Default for WeatherForecastSample
Source§fn default() -> WeatherForecastSample
fn default() -> WeatherForecastSample
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WeatherForecastSample
impl RefUnwindSafe for WeatherForecastSample
impl Send for WeatherForecastSample
impl Sync for WeatherForecastSample
impl Unpin for WeatherForecastSample
impl UnwindSafe for WeatherForecastSample
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