#[non_exhaustive]pub enum TaskSupportMode {
Required,
Optional,
Forbidden,
}Expand description
Task support mode for tool execution
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.
Required
Task execution is required (tool MUST be called with task params)
Optional
Task execution is optional (tool MAY be called with or without task params)
Forbidden
Task execution is forbidden (tool MUST NOT be called with task params)
Trait Implementations§
Source§impl Clone for TaskSupportMode
impl Clone for TaskSupportMode
Source§fn clone(&self) -> TaskSupportMode
fn clone(&self) -> TaskSupportMode
Returns a duplicate of the value. Read more
1.0.0 · 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 TaskSupportMode
impl Debug for TaskSupportMode
Source§impl Default for TaskSupportMode
impl Default for TaskSupportMode
Source§fn default() -> TaskSupportMode
fn default() -> TaskSupportMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskSupportMode
impl<'de> Deserialize<'de> for TaskSupportMode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaskSupportMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaskSupportMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TaskSupportMode
impl PartialEq for TaskSupportMode
Source§impl Serialize for TaskSupportMode
impl Serialize for TaskSupportMode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for TaskSupportMode
impl Eq for TaskSupportMode
impl StructuralPartialEq for TaskSupportMode
Auto Trait Implementations§
impl Freeze for TaskSupportMode
impl RefUnwindSafe for TaskSupportMode
impl Send for TaskSupportMode
impl Sync for TaskSupportMode
impl Unpin for TaskSupportMode
impl UnsafeUnpin for TaskSupportMode
impl UnwindSafe for TaskSupportMode
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