pub struct ToolEvent<'a, M> {
pub schema: &'static str,
pub event_type: &'static str,
pub event_time_unix_ms: u64,
pub event_source: &'static str,
pub agent_context: &'a AgentContext<'a>,
pub tool: ToolFields<'a, M>,
}Fields§
§schema: &'static str§event_type: &'static str§event_time_unix_ms: u64§event_source: &'static str§agent_context: &'a AgentContext<'a>§tool: ToolFields<'a, M>Trait Implementations§
Auto Trait Implementations§
impl<'a, M> Freeze for ToolEvent<'a, M>where
ToolFields<'a, M>: Freeze,
impl<'a, M> RefUnwindSafe for ToolEvent<'a, M>where
ToolFields<'a, M>: RefUnwindSafe,
impl<'a, M> Send for ToolEvent<'a, M>where
ToolFields<'a, M>: Send,
impl<'a, M> Sync for ToolEvent<'a, M>where
ToolFields<'a, M>: Sync,
impl<'a, M> Unpin for ToolEvent<'a, M>where
ToolFields<'a, M>: Unpin,
impl<'a, M> UnsafeUnpin for ToolEvent<'a, M>where
ToolFields<'a, M>: UnsafeUnpin,
impl<'a, M> UnwindSafe for ToolEvent<'a, M>where
ToolFields<'a, M>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 more