pub struct ToolCallStart {
pub component_ref: String,
pub digest: String,
pub tool: String,
pub args_sha256: String,
pub args_json: Option<String>,
pub session_id: Option<String>,
pub transport: Transport,
pub agent_id: Option<String>,
pub request_id: String,
pub traceparent: Option<String>,
pub tracestate: Option<String>,
}Expand description
The fields known when a tool call begins. Outcome and duration are recorded onto the span when it finishes.
Fields§
§component_ref: String§digest: String§tool: String§args_sha256: String§args_json: Option<String>Full arguments rendered as JSON, present only when --audit-args is
set. None by default, in which case only args_sha256 is emitted —
this is the field that keeps the default path a digest, never values.
session_id: Option<String>§transport: Transport§agent_id: Option<String>std:agent-id — informational caller identity, never a principal.
request_id: Stringstd:request-id, or a host-generated id. Always present, so an
operator can always join one audit line to one client log line.
traceparent: Option<String>std:traceparent (W3C Trace Context) as received.
tracestate: Option<String>std:tracestate as received.
Trait Implementations§
Source§impl Clone for ToolCallStart
impl Clone for ToolCallStart
Source§fn clone(&self) -> ToolCallStart
fn clone(&self) -> ToolCallStart
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 moreAuto Trait Implementations§
impl Freeze for ToolCallStart
impl RefUnwindSafe for ToolCallStart
impl Send for ToolCallStart
impl Sync for ToolCallStart
impl Unpin for ToolCallStart
impl UnsafeUnpin for ToolCallStart
impl UnwindSafe for ToolCallStart
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
Source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.