pub enum ToolCallConfirmationState {
PendingConfirmation(ToolCallPendingConfirmationState),
PendingResultConfirmation(ToolCallPendingResultConfirmationState),
Unknown(Value),
}Expand description
A tool call blocked on parameter- or result-confirmation.
Variants§
PendingConfirmation(ToolCallPendingConfirmationState)
PendingResultConfirmation(ToolCallPendingResultConfirmationState)
Unknown(Value)
Unknown or future variant — preserved as raw JSON for round-trip fidelity. Reducers treat this as a no-op.
Trait Implementations§
Source§impl Clone for ToolCallConfirmationState
impl Clone for ToolCallConfirmationState
Source§fn clone(&self) -> ToolCallConfirmationState
fn clone(&self) -> ToolCallConfirmationState
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 ToolCallConfirmationState
impl Debug for ToolCallConfirmationState
Source§impl<'de> Deserialize<'de> for ToolCallConfirmationState
impl<'de> Deserialize<'de> for ToolCallConfirmationState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ToolCallConfirmationState
impl PartialEq for ToolCallConfirmationState
Source§fn eq(&self, other: &ToolCallConfirmationState) -> bool
fn eq(&self, other: &ToolCallConfirmationState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolCallConfirmationState
Auto Trait Implementations§
impl Freeze for ToolCallConfirmationState
impl RefUnwindSafe for ToolCallConfirmationState
impl Send for ToolCallConfirmationState
impl Sync for ToolCallConfirmationState
impl Unpin for ToolCallConfirmationState
impl UnsafeUnpin for ToolCallConfirmationState
impl UnwindSafe for ToolCallConfirmationState
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