pub struct DataReady {
pub data_ready: bool,
}Expand description
Whether new measurement results are available to read.
Fields§
§data_ready: booltrue if new data is ready. false if not, or when no measurement is running.
Trait Implementations§
impl Copy for DataReady
Source§impl<'de> Deserialize<'de> for DataReady
impl<'de> Deserialize<'de> for DataReady
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 Eq for DataReady
impl StructuralPartialEq for DataReady
Auto Trait Implementations§
impl Freeze for DataReady
impl RefUnwindSafe for DataReady
impl Send for DataReady
impl Sync for DataReady
impl Unpin for DataReady
impl UnsafeUnpin for DataReady
impl UnwindSafe for DataReady
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