pub struct Annotations {
pub read_only: bool,
pub destructive: bool,
pub idempotent: bool,
pub open_world: bool,
}Expand description
The hints a client sees on a tool.
These are advisory in the protocol but load-bearing for a planning model, so they are derived from the tier wherever the tier determines them and stated explicitly only where it does not.
Fields§
§read_only: bool§destructive: bool§idempotent: bool§open_world: boolTrait Implementations§
Source§impl Clone for Annotations
impl Clone for Annotations
impl Copy for Annotations
Source§impl Debug for Annotations
impl Debug for Annotations
impl Eq for Annotations
Source§impl PartialEq for Annotations
impl PartialEq for Annotations
impl StructuralPartialEq for Annotations
Auto Trait Implementations§
impl Freeze for Annotations
impl RefUnwindSafe for Annotations
impl Send for Annotations
impl Sync for Annotations
impl Unpin for Annotations
impl UnsafeUnpin for Annotations
impl UnwindSafe for Annotations
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.