pub struct LogHeader {
pub config: Config,
pub info: TagInfo,
pub calibration: Vec<CalibrationConstants>,
pub states: Vec<State>,
}Expand description
Everything a log records about the tag before its data: the C++
TagLogHeader.
A live download fills it with the same calls, in the same order, as the
C++ readTagLogHeader(): Config, TagInfo, every stored set of
calibration constants from index 0, then the state log in chunks.
Fields§
§config: ConfigThe tag’s configuration. Its tag type chooses the schema.
info: TagInfoThe tag’s identity; its UUID is written to the info table.
calibration: Vec<CalibrationConstants>Stored calibration constants, oldest first.
states: Vec<State>State history, in the order the tag returned it.
Trait Implementations§
impl StructuralPartialEq for LogHeader
Auto Trait Implementations§
impl Freeze for LogHeader
impl RefUnwindSafe for LogHeader
impl Send for LogHeader
impl Sync for LogHeader
impl Unpin for LogHeader
impl UnsafeUnpin for LogHeader
impl UnwindSafe for LogHeader
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