pub struct McpResourceReadResponse {
pub contents: Vec<ResourceContent>,
pub origin_call_id: Option<String>,
}Fields§
§contents: Vec<ResourceContent>§origin_call_id: Option<String>Originating call when the server applied app-specific resource scoping.
Trait Implementations§
Source§impl Clone for McpResourceReadResponse
impl Clone for McpResourceReadResponse
Source§impl Debug for McpResourceReadResponse
impl Debug for McpResourceReadResponse
Source§impl Default for McpResourceReadResponse
impl Default 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§impl Serialize for McpResourceReadResponse
impl Serialize for McpResourceReadResponse
impl StructuralPartialEq for McpResourceReadResponse
Auto Trait Implementations§
impl Forget for McpResourceReadResponse
impl Freeze for McpResourceReadResponse
impl Move 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