Struct tinkerforge::outdoor_weather_bricklet::StationData
source · pub struct StationData {
pub temperature: i16,
pub humidity: u8,
pub wind_speed: u32,
pub gust_speed: u32,
pub rain: u32,
pub wind_direction: u8,
pub battery_low: bool,
pub last_change: u16,
}
Fields
temperature: i16
humidity: u8
wind_speed: u32
gust_speed: u32
rain: u32
wind_direction: u8
battery_low: bool
last_change: u16
Trait Implementations
sourceimpl Clone for StationData
impl Clone for StationData
sourcefn clone(&self) -> StationData
fn clone(&self) -> StationData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StationData
impl Debug for StationData
sourceimpl Default for StationData
impl Default for StationData
sourcefn default() -> StationData
fn default() -> StationData
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for StationData
impl FromByteSlice for StationData
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> StationData
fn from_le_bytes(bytes: &[u8]) -> StationData
Deserialize the implementing type from a byte slice.
sourceimpl Hash for StationData
impl Hash for StationData
sourceimpl PartialEq<StationData> for StationData
impl PartialEq<StationData> for StationData
sourcefn eq(&self, other: &StationData) -> bool
fn eq(&self, other: &StationData) -> bool
impl Copy for StationData
impl Eq for StationData
impl StructuralEq for StationData
impl StructuralPartialEq for StationData
Auto Trait Implementations
impl RefUnwindSafe for StationData
impl Send for StationData
impl Sync for StationData
impl Unpin for StationData
impl UnwindSafe for StationData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more