pub struct SensorEvent {
pub t: String,
pub d: BTreeMap<String, EventField>,
}Fields§
§t: String§d: BTreeMap<String, EventField>Implementations§
Trait Implementations§
Source§impl Clone for SensorEvent
impl Clone for SensorEvent
Source§fn clone(&self) -> SensorEvent
fn clone(&self) -> SensorEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SensorEvent
impl Debug for SensorEvent
Source§impl<'de> Deserialize<'de> for SensorEvent
impl<'de> Deserialize<'de> for SensorEvent
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 SensorEvent
impl PartialEq for SensorEvent
Source§fn eq(&self, other: &SensorEvent) -> bool
fn eq(&self, other: &SensorEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SensorEvent
impl Serialize for SensorEvent
impl StructuralPartialEq for SensorEvent
Auto Trait Implementations§
impl Freeze for SensorEvent
impl RefUnwindSafe for SensorEvent
impl Send for SensorEvent
impl Sync for SensorEvent
impl Unpin for SensorEvent
impl UnsafeUnpin for SensorEvent
impl UnwindSafe for SensorEvent
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