pub struct ToolAnnotationMatch {
pub read_only_hint: Option<bool>,
pub destructive_hint: Option<bool>,
pub idempotent_hint: Option<bool>,
pub open_world_hint: Option<bool>,
}Expand description
Subset of MCP ToolAnnotations fields the filter understands.
Fields§
§read_only_hint: Option<bool>§destructive_hint: Option<bool>§idempotent_hint: Option<bool>§open_world_hint: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for ToolAnnotationMatch
impl Clone for ToolAnnotationMatch
Source§fn clone(&self) -> ToolAnnotationMatch
fn clone(&self) -> ToolAnnotationMatch
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 ToolAnnotationMatch
impl Debug for ToolAnnotationMatch
Source§impl Default for ToolAnnotationMatch
impl Default for ToolAnnotationMatch
Source§fn default() -> ToolAnnotationMatch
fn default() -> ToolAnnotationMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolAnnotationMatch
impl<'de> Deserialize<'de> for ToolAnnotationMatch
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
Auto Trait Implementations§
impl Freeze for ToolAnnotationMatch
impl RefUnwindSafe for ToolAnnotationMatch
impl Send for ToolAnnotationMatch
impl Sync for ToolAnnotationMatch
impl Unpin for ToolAnnotationMatch
impl UnsafeUnpin for ToolAnnotationMatch
impl UnwindSafe for ToolAnnotationMatch
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