pub struct SessionLogEvent {
pub seq: u64,
pub ts: String,
pub zig_session_id: String,
pub kind: SessionEventKind,
}Expand description
Event envelope written to the JSONL log. Field naming mirrors zag’s
AgentLogEvent (zag-agent/src/session_log.rs:182): seq, ts, plus
a session id and a flattened kind discriminator.
Fields§
§seq: u64§ts: String§zig_session_id: String§kind: SessionEventKindTrait Implementations§
Source§impl Clone for SessionLogEvent
impl Clone for SessionLogEvent
Source§fn clone(&self) -> SessionLogEvent
fn clone(&self) -> SessionLogEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionLogEvent
impl Debug for SessionLogEvent
Source§impl<'de> Deserialize<'de> for SessionLogEvent
impl<'de> Deserialize<'de> for SessionLogEvent
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 SessionLogEvent
impl RefUnwindSafe for SessionLogEvent
impl Send for SessionLogEvent
impl Sync for SessionLogEvent
impl Unpin for SessionLogEvent
impl UnsafeUnpin for SessionLogEvent
impl UnwindSafe for SessionLogEvent
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