pub struct PromptsListResult {
pub prompts: Vec<McpPrompt>,
pub next_cursor: Option<String>,
}Available on crate feature
mcp only.Expand description
prompts/list response.
Fields§
§prompts: Vec<McpPrompt>Available prompts.
next_cursor: Option<String>Opaque cursor for pagination, if the server returned more pages.
Trait Implementations§
Source§impl Clone for PromptsListResult
impl Clone for PromptsListResult
Source§fn clone(&self) -> PromptsListResult
fn clone(&self) -> PromptsListResult
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 PromptsListResult
impl Debug for PromptsListResult
Source§impl<'de> Deserialize<'de> for PromptsListResult
impl<'de> Deserialize<'de> for PromptsListResult
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 PromptsListResult
impl RefUnwindSafe for PromptsListResult
impl Send for PromptsListResult
impl Sync for PromptsListResult
impl Unpin for PromptsListResult
impl UnsafeUnpin for PromptsListResult
impl UnwindSafe for PromptsListResult
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