pub struct TraceExtras {
pub cli_version: String,
pub git: Option<GitMeta>,
pub kind: Option<String>,
pub parent_id: Option<String>,
pub group: Option<String>,
}Expand description
Construction-time inputs the Event::Init event doesn’t carry.
Fields§
§cli_version: StringThe CLI version (env!("CARGO_PKG_VERSION") at the call site).
git: Option<GitMeta>Git provenance, best-effort.
kind: Option<String>The session kind ("main" unless spawning a subagent).
parent_id: Option<String>The parent session id, if any.
group: Option<String>The workflow/group id, if any.
Trait Implementations§
Source§impl Clone for TraceExtras
impl Clone for TraceExtras
Source§fn clone(&self) -> TraceExtras
fn clone(&self) -> TraceExtras
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TraceExtras
impl Debug for TraceExtras
Source§impl Default for TraceExtras
impl Default for TraceExtras
Source§fn default() -> TraceExtras
fn default() -> TraceExtras
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceExtras
impl RefUnwindSafe for TraceExtras
impl Send for TraceExtras
impl Sync for TraceExtras
impl Unpin for TraceExtras
impl UnsafeUnpin for TraceExtras
impl UnwindSafe for TraceExtras
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