pub enum AppToolApproval {
Auto,
Prompt,
Writes,
Approve,
}Expand description
AppToolApproval
JSON schema
{
"type": "string",
"enum": [
"auto",
"prompt",
"writes",
"approve"
]
}Variants§
Trait Implementations§
Source§impl Clone for AppToolApproval
impl Clone for AppToolApproval
Source§fn clone(&self) -> AppToolApproval
fn clone(&self) -> AppToolApproval
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 AppToolApproval
impl Debug for AppToolApproval
Source§impl<'de> Deserialize<'de> for AppToolApproval
impl<'de> Deserialize<'de> for AppToolApproval
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 Display for AppToolApproval
impl Display for AppToolApproval
Source§impl FromStr for AppToolApproval
impl FromStr for AppToolApproval
Source§impl Hash for AppToolApproval
impl Hash for AppToolApproval
Source§impl Ord for AppToolApproval
impl Ord for AppToolApproval
Source§fn cmp(&self, other: &AppToolApproval) -> Ordering
fn cmp(&self, other: &AppToolApproval) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AppToolApproval
impl PartialEq for AppToolApproval
Source§fn eq(&self, other: &AppToolApproval) -> bool
fn eq(&self, other: &AppToolApproval) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AppToolApproval
impl PartialOrd for AppToolApproval
Source§impl Serialize for AppToolApproval
impl Serialize for AppToolApproval
Source§impl TryFrom<&String> for AppToolApproval
impl TryFrom<&String> for AppToolApproval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for AppToolApproval
impl TryFrom<&str> for AppToolApproval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for AppToolApproval
impl TryFrom<String> for AppToolApproval
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for AppToolApproval
impl Eq for AppToolApproval
impl StructuralPartialEq for AppToolApproval
Auto Trait Implementations§
impl Freeze for AppToolApproval
impl RefUnwindSafe for AppToolApproval
impl Send for AppToolApproval
impl Sync for AppToolApproval
impl Unpin for AppToolApproval
impl UnsafeUnpin for AppToolApproval
impl UnwindSafe for AppToolApproval
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.