pub struct SubTaskTurnSnapshot {
pub cancellation_token: Option<CancellationToken>,
pub event_handler: Option<RuntimeEventHandler>,
pub stream_callback: Option<StreamCallback>,
pub trace_id: Option<String>,
pub parent_run_id: Option<String>,
pub parent_tool_call_id: Option<String>,
pub parent_execution_context: Option<ExecutionContext>,
pub parent_run_context: Option<RunContext>,
pub tool_policy: ToolPolicy,
}Fields§
§cancellation_token: Option<CancellationToken>§event_handler: Option<RuntimeEventHandler>§stream_callback: Option<StreamCallback>§trace_id: Option<String>§parent_run_id: Option<String>§parent_tool_call_id: Option<String>§parent_execution_context: Option<ExecutionContext>§parent_run_context: Option<RunContext>§tool_policy: ToolPolicyTrait Implementations§
Source§impl Clone for SubTaskTurnSnapshot
impl Clone for SubTaskTurnSnapshot
Source§fn clone(&self) -> SubTaskTurnSnapshot
fn clone(&self) -> SubTaskTurnSnapshot
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 Default for SubTaskTurnSnapshot
impl Default for SubTaskTurnSnapshot
Source§fn default() -> SubTaskTurnSnapshot
fn default() -> SubTaskTurnSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SubTaskTurnSnapshot
impl !UnwindSafe for SubTaskTurnSnapshot
impl Freeze for SubTaskTurnSnapshot
impl Send for SubTaskTurnSnapshot
impl Sync for SubTaskTurnSnapshot
impl Unpin for SubTaskTurnSnapshot
impl UnsafeUnpin for SubTaskTurnSnapshot
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
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 moreCreates a shared type from an unshared type.