pub struct ListToolsParams {
pub cursor: Option<String>,
pub include_tags: Option<Vec<String>>,
pub exclude_tags: Option<Vec<String>>,
}Expand description
tools/list request params.
Fields§
§cursor: Option<String>Cursor for pagination.
Only include tools with ALL of these tags (AND logic).
Exclude tools with ANY of these tags (OR logic).
Trait Implementations§
Source§impl Clone for ListToolsParams
impl Clone for ListToolsParams
Source§fn clone(&self) -> ListToolsParams
fn clone(&self) -> ListToolsParams
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 ListToolsParams
impl Debug for ListToolsParams
Source§impl Default for ListToolsParams
impl Default for ListToolsParams
Source§fn default() -> ListToolsParams
fn default() -> ListToolsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListToolsParams
impl<'de> Deserialize<'de> for ListToolsParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListToolsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListToolsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ListToolsParams
impl Serialize for ListToolsParams
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
Auto Trait Implementations§
impl Freeze for ListToolsParams
impl RefUnwindSafe for ListToolsParams
impl Send for ListToolsParams
impl Sync for ListToolsParams
impl Unpin for ListToolsParams
impl UnwindSafe for ListToolsParams
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).