#[non_exhaustive]pub enum ApprovalVerdict {
Approved,
Rejected,
Retried,
}Expand description
Whether the user approved or rejected a planned tool call.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ApprovalVerdict
impl Clone for ApprovalVerdict
Source§fn clone(&self) -> ApprovalVerdict
fn clone(&self) -> ApprovalVerdict
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 ApprovalVerdict
Source§impl Debug for ApprovalVerdict
impl Debug for ApprovalVerdict
Source§impl<'de> Deserialize<'de> for ApprovalVerdict
impl<'de> Deserialize<'de> for ApprovalVerdict
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 ApprovalVerdict
Source§impl PartialEq for ApprovalVerdict
impl PartialEq for ApprovalVerdict
Source§fn eq(&self, other: &ApprovalVerdict) -> bool
fn eq(&self, other: &ApprovalVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApprovalVerdict
impl Serialize for ApprovalVerdict
impl StructuralPartialEq for ApprovalVerdict
Auto Trait Implementations§
impl Freeze for ApprovalVerdict
impl RefUnwindSafe for ApprovalVerdict
impl Send for ApprovalVerdict
impl Sync for ApprovalVerdict
impl Unpin for ApprovalVerdict
impl UnsafeUnpin for ApprovalVerdict
impl UnwindSafe for ApprovalVerdict
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