pub struct ToolDraft {
pub tool_call_id: String,
pub tool_class: String,
pub started_at_ms: i64,
pub ended_at_ms: i64,
pub is_error: bool,
pub output_bytes: usize,
pub child_session_id: Option<String>,
pub consumer_turn_index: Option<usize>,
pub execution_mode: String,
}Fields§
§tool_call_id: String§tool_class: String§started_at_ms: i64§ended_at_ms: i64§is_error: bool§output_bytes: usize§child_session_id: Option<String>§consumer_turn_index: Option<usize>§execution_mode: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for ToolDraft
impl RefUnwindSafe for ToolDraft
impl Send for ToolDraft
impl Sync for ToolDraft
impl Unpin for ToolDraft
impl UnsafeUnpin for ToolDraft
impl UnwindSafe for ToolDraft
Blanket Implementations§
impl<T> BlockMetadata for T
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 more