#[non_exhaustive]pub enum DisclosureDepth {
Minimal,
Summary,
Parameters,
Full,
}Expand description
Controls how much detail is returned for a tool in search results.
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.
Minimal
Name only.
Summary
Name + description (default for search results).
Parameters
Name + description + parameter names/types.
Full
Full schema including examples and constraints.
Trait Implementations§
Source§impl Clone for DisclosureDepth
impl Clone for DisclosureDepth
Source§fn clone(&self) -> DisclosureDepth
fn clone(&self) -> DisclosureDepth
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 DisclosureDepth
impl Debug for DisclosureDepth
Source§impl PartialEq for DisclosureDepth
impl PartialEq for DisclosureDepth
impl Copy for DisclosureDepth
impl Eq for DisclosureDepth
impl StructuralPartialEq for DisclosureDepth
Auto Trait Implementations§
impl Freeze for DisclosureDepth
impl RefUnwindSafe for DisclosureDepth
impl Send for DisclosureDepth
impl Sync for DisclosureDepth
impl Unpin for DisclosureDepth
impl UnsafeUnpin for DisclosureDepth
impl UnwindSafe for DisclosureDepth
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