pub struct ListToolsRequestParams {
pub cursor: Option<Cursor>,
}Expand description
Sent from the client to request a list of tools the server has.
See the schema for details
Fields§
§cursor: Option<Cursor>An opaque token representing the current pagination position. If provided, the server should return results starting after this cursor.
Trait Implementations§
Source§impl Debug for ListToolsRequestParams
impl Debug for ListToolsRequestParams
Source§impl Default for ListToolsRequestParams
impl Default for ListToolsRequestParams
Source§fn default() -> ListToolsRequestParams
fn default() -> ListToolsRequestParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListToolsRequestParams
impl<'de> Deserialize<'de> for ListToolsRequestParams
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 ListToolsRequestParams
impl RefUnwindSafe for ListToolsRequestParams
impl Send for ListToolsRequestParams
impl Sync for ListToolsRequestParams
impl Unpin for ListToolsRequestParams
impl UnsafeUnpin for ListToolsRequestParams
impl UnwindSafe for ListToolsRequestParams
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