pub struct LogHeader {
pub bare_metrics_version: String,
pub application_name: String,
pub start_time: UnixTimestampMilliseconds,
}
Expand description
Header for a metric log file.
Fields§
§bare_metrics_version: String
String describing the version of this metrics log file.
application_name: String
Name of the application that emitted this metrics log file. Useful for auto-detection of rules for e.g. the GUI.
start_time: UnixTimestampMilliseconds
Unix timestamp (milliseconds) describing the start of the metrics.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogHeader
impl<'de> Deserialize<'de> for LogHeader
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
Auto Trait Implementations§
impl Freeze for LogHeader
impl RefUnwindSafe for LogHeader
impl Send for LogHeader
impl Sync for LogHeader
impl Unpin 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