pub struct McpResourceReadResponse {
pub contents: Vec<ResourceContent>,
}Fields§
§contents: Vec<ResourceContent>Trait Implementations§
Source§impl Clone for McpResourceReadResponse
impl Clone for McpResourceReadResponse
Source§fn clone(&self) -> McpResourceReadResponse
fn clone(&self) -> McpResourceReadResponse
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 moreSource§impl Debug for McpResourceReadResponse
impl Debug for McpResourceReadResponse
Source§impl<'de> Deserialize<'de> for McpResourceReadResponse
impl<'de> Deserialize<'de> for McpResourceReadResponse
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 PartialEq for McpResourceReadResponse
impl PartialEq for McpResourceReadResponse
Source§fn eq(&self, other: &McpResourceReadResponse) -> bool
fn eq(&self, other: &McpResourceReadResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpResourceReadResponse
impl Serialize for McpResourceReadResponse
impl StructuralPartialEq for McpResourceReadResponse
Auto Trait Implementations§
impl Freeze for McpResourceReadResponse
impl RefUnwindSafe for McpResourceReadResponse
impl Send for McpResourceReadResponse
impl Sync for McpResourceReadResponse
impl Unpin for McpResourceReadResponse
impl UnsafeUnpin for McpResourceReadResponse
impl UnwindSafe for McpResourceReadResponse
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