pub struct Envelope {Show 19 fields
pub uuid: String,
pub parent_uuid: Option<String>,
pub logical_parent_uuid: Option<String>,
pub is_sidechain: bool,
pub session_id: String,
pub timestamp: String,
pub user_type: Option<String>,
pub entrypoint: Option<String>,
pub cwd: Option<String>,
pub version: Option<String>,
pub git_branch: Option<String>,
pub slug: Option<String>,
pub agent_id: Option<String>,
pub team_name: Option<String>,
pub agent_name: Option<String>,
pub agent_color: Option<String>,
pub prompt_id: Option<String>,
pub is_meta: Option<bool>,
pub forked_from: Option<ForkedFrom>,
}Fields§
§uuid: String§parent_uuid: Option<String>null = first message in session; UUID = linked to previous entry.
logical_parent_uuid: Option<String>Preserves logical chain across compact boundaries (parentUuid is nulled at those points).
is_sidechain: bool§session_id: String§timestamp: String§user_type: Option<String>§entrypoint: Option<String>§cwd: Option<String>§version: Option<String>§git_branch: Option<String>§slug: Option<String>Human-readable session slug, e.g. “drifting-tinkering-parnas”.
agent_id: Option<String>7-char hex id for sidechain / subagent sessions.
team_name: Option<String>§agent_name: Option<String>§agent_color: Option<String>§prompt_id: Option<String>Correlates with OTel prompt.id for user-prompt messages.
is_meta: Option<bool>True when this entry should be hidden in the UI (meta / invisible).
forked_from: Option<ForkedFrom>Set when this session was forked from another session.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Envelope
impl<'de> Deserialize<'de> for Envelope
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 Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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