pub struct LogEntry {
pub message_id: String,
pub received_at_ms: i64,
pub sender: String,
pub message_type: String,
pub raw_payload: Vec<u8>,
pub entry_kind: EntryKind,
pub session_id: String,
pub mode: String,
pub macp_version: String,
pub timestamp_unix_ms: i64,
}Fields§
§message_id: String§received_at_ms: i64§sender: String§message_type: String§raw_payload: Vec<u8>§entry_kind: EntryKind§session_id: String§mode: String§macp_version: String§timestamp_unix_ms: i64Original envelope timestamp for replay determinism.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogEntry
impl<'de> Deserialize<'de> for LogEntry
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 LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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