Struct ResponseCaps
pub struct ResponseCaps {
pub tools_list_bytes: usize,
pub tools_call_bytes: usize,
pub resources_list_bytes: usize,
pub resources_read_bytes: usize,
pub prompts_list_bytes: usize,
pub prompts_get_bytes: usize,
pub relay_call_bytes: usize,
pub http_json_bytes: usize,
pub http_sse_event_bytes: usize,
pub websocket_frame_bytes: usize,
pub stdio_message_bytes: usize,
}Fields§
§tools_list_bytes: usize§tools_call_bytes: usize§resources_list_bytes: usize§resources_read_bytes: usize§prompts_list_bytes: usize§prompts_get_bytes: usize§relay_call_bytes: usize§http_json_bytes: usize§http_sse_event_bytes: usize§websocket_frame_bytes: usize§stdio_message_bytes: usizeImplementations§
Trait Implementations§
§impl Clone for ResponseCaps
impl Clone for ResponseCaps
§fn clone(&self) -> ResponseCaps
fn clone(&self) -> ResponseCaps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ResponseCaps
impl Debug for ResponseCaps
§impl Default for ResponseCaps
impl Default for ResponseCaps
§fn default() -> ResponseCaps
fn default() -> ResponseCaps
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ResponseCaps
impl<'de> Deserialize<'de> for ResponseCaps
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseCaps, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseCaps, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ResponseCaps
impl PartialEq for ResponseCaps
§impl Serialize for ResponseCaps
impl Serialize for ResponseCaps
§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
impl Eq for ResponseCaps
impl StructuralPartialEq for ResponseCaps
Auto Trait Implementations§
impl Freeze for ResponseCaps
impl RefUnwindSafe for ResponseCaps
impl Send for ResponseCaps
impl Sync for ResponseCaps
impl Unpin for ResponseCaps
impl UnsafeUnpin for ResponseCaps
impl UnwindSafe for ResponseCaps
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.