pub struct ServerCapabilitiesTools {
pub list_changed: Option<bool>,
pub extra: Map<String, Value>,
}
Expand description
Present if the server offers any tools to call.
Fields§
§list_changed: Option<bool>
Whether this server supports notifications for changes to the tool list.
extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for ServerCapabilitiesTools
impl Clone for ServerCapabilitiesTools
Source§fn clone(&self) -> ServerCapabilitiesTools
fn clone(&self) -> ServerCapabilitiesTools
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 ServerCapabilitiesTools
impl Debug for ServerCapabilitiesTools
Source§impl Default for ServerCapabilitiesTools
impl Default for ServerCapabilitiesTools
Source§fn default() -> ServerCapabilitiesTools
fn default() -> ServerCapabilitiesTools
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerCapabilitiesTools
impl<'de> Deserialize<'de> for ServerCapabilitiesTools
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
Source§impl Hash for ServerCapabilitiesTools
impl Hash for ServerCapabilitiesTools
Source§impl PartialEq for ServerCapabilitiesTools
impl PartialEq for ServerCapabilitiesTools
Source§impl Serialize for ServerCapabilitiesTools
impl Serialize for ServerCapabilitiesTools
impl Eq for ServerCapabilitiesTools
impl StructuralPartialEq for ServerCapabilitiesTools
Auto Trait Implementations§
impl Freeze for ServerCapabilitiesTools
impl RefUnwindSafe for ServerCapabilitiesTools
impl Send for ServerCapabilitiesTools
impl Sync for ServerCapabilitiesTools
impl Unpin for ServerCapabilitiesTools
impl UnwindSafe for ServerCapabilitiesTools
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.