pub struct Meta {
pub id: String,
pub timestamp: DateTime<Utc>,
pub cwd: Option<String>,
pub git_branch: Option<String>,
pub title: Option<String>,
pub cli_version: Option<String>,
pub model: Option<String>,
}Expand description
Session-level metadata, common to every harness.
Harness-specific header fields do not live here; they belong to the native
Body and are regenerated by
from_common.
Fields§
§id: StringSession identifier, as the originating harness knows it.
timestamp: DateTime<Utc>When the session started.
cwd: Option<String>Working directory the session ran in.
git_branch: Option<String>Git branch checked out at session time.
title: Option<String>Human-facing title, if the harness records one.
cli_version: Option<String>Version of the CLI that produced the session.
model: Option<String>Primary model used across the session.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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 Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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