pub struct LogData {
pub timestamp: u32,
pub data: HashMap<String, Value>,
}Expand description
§Log data sample
This object represents a data sample coming from a started log block. It provides the Crazyflie timestamp in milliseconds when the data was sampled and a hash-table of variable name and value.
See the log module documentation for more context and information.
Fields§
§timestamp: u32Timestamp in milliseconds of when the data sample was taken
data: HashMap<String, Value>HashMap of the name of the variable vs sampled value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogData
impl RefUnwindSafe for LogData
impl Send for LogData
impl Sync for LogData
impl Unpin for LogData
impl UnsafeUnpin for LogData
impl UnwindSafe for LogData
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