pub struct WireEntry {
pub kind: WireEntryKind,
pub time: i64,
}Expand description
Byte-for-byte the JSON of hrdr_agent::Entry: flat kind/data + unix time.
Fields§
§kind: WireEntryKind§time: i64Unix seconds — Entry serializes DateTime<Local> this way.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WireEntry
impl<'de> Deserialize<'de> for WireEntry
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 StructuralPartialEq for WireEntry
Auto Trait Implementations§
impl Freeze for WireEntry
impl RefUnwindSafe for WireEntry
impl Send for WireEntry
impl Sync for WireEntry
impl Unpin for WireEntry
impl UnsafeUnpin for WireEntry
impl UnwindSafe for WireEntry
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