pub struct Header {
pub version: u32,
pub name: String,
pub session_id: String,
pub parent: Option<String>,
pub agent_type: Option<String>,
pub created_at: u64,
pub engine_version: String,
}Fields§
§version: u32§name: String§session_id: String§parent: Option<String>The session that spawned this one. With created_at and the per-record
timestamps, this is what turns a directory of recordings into a single
tree on one timeline instead of a pile of unrelated files.
agent_type: Option<String>Which kind of agent this session runs, when it is a sub-agent.
created_at: u64§engine_version: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Header
impl<'de> Deserialize<'de> for Header
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 Forget for Header
impl Freeze for Header
impl Move for Header
impl RefUnwindSafe for Header
impl Send for Headerwhere
RawVecInner: Send,
impl Sync for Headerwhere
RawVecInner: Sync,
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Headerwhere
RawVecInner: UnwindSafe,
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