pub enum ToolCallConfirmationReason {
NotNeeded,
UserAction,
Setting,
}Expand description
How a tool call was confirmed for execution.
NotNeeded— No confirmation required (auto-approved)UserAction— User explicitly approvedSetting— Approved by a persistent user setting
Variants§
Trait Implementations§
Source§impl Clone for ToolCallConfirmationReason
impl Clone for ToolCallConfirmationReason
Source§fn clone(&self) -> ToolCallConfirmationReason
fn clone(&self) -> ToolCallConfirmationReason
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 moreimpl Copy for ToolCallConfirmationReason
Source§impl Debug for ToolCallConfirmationReason
impl Debug for ToolCallConfirmationReason
Source§impl<'de> Deserialize<'de> for ToolCallConfirmationReason
impl<'de> Deserialize<'de> for ToolCallConfirmationReason
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
impl Eq for ToolCallConfirmationReason
Source§impl Hash for ToolCallConfirmationReason
impl Hash for ToolCallConfirmationReason
Source§impl PartialEq for ToolCallConfirmationReason
impl PartialEq for ToolCallConfirmationReason
Source§fn eq(&self, other: &ToolCallConfirmationReason) -> bool
fn eq(&self, other: &ToolCallConfirmationReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolCallConfirmationReason
Auto Trait Implementations§
impl Freeze for ToolCallConfirmationReason
impl RefUnwindSafe for ToolCallConfirmationReason
impl Send for ToolCallConfirmationReason
impl Sync for ToolCallConfirmationReason
impl Unpin for ToolCallConfirmationReason
impl UnsafeUnpin for ToolCallConfirmationReason
impl UnwindSafe for ToolCallConfirmationReason
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