pub struct SessionMcpResourcesListResult {
pub next_cursor: Option<String>,
pub resources: Vec<McpResource>,
}Expand description
One page of resources advertised by the named MCP server.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§next_cursor: Option<String>Opaque cursor for the next page, if the server has more resources
resources: Vec<McpResource>Resources advertised by the server (proxied MCP resources/list)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionMcpResourcesListResult
impl<'de> Deserialize<'de> for SessionMcpResourcesListResult
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 SessionMcpResourcesListResult
impl RefUnwindSafe for SessionMcpResourcesListResult
impl Send for SessionMcpResourcesListResult
impl Sync for SessionMcpResourcesListResult
impl Unpin for SessionMcpResourcesListResult
impl UnsafeUnpin for SessionMcpResourcesListResult
impl UnwindSafe for SessionMcpResourcesListResult
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