pub enum TaskSupportMode {
Required,
Optional,
Forbidden,
}Expand description
Task support mode for tool execution
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<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 TaskSupportMode
impl PartialEq for TaskSupportMode
Source§impl Serialize for TaskSupportMode
impl Serialize for TaskSupportMode
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