pub struct ListPromptsRequest {
pub method: MustBeStr<(p, r, o, m, (p, t), (s, char<'/'>, l, i, s, t))>,
pub params: Option<ListPromptsRequestParams>,
pub extra: Map<String, Value>,
}
Expand description
Sent from the client to request a list of prompts and prompt templates the server has.
Fields§
§method: MustBeStr<(p, r, o, m, (p, t), (s, char<'/'>, l, i, s, t))>
§params: Option<ListPromptsRequestParams>
§extra: Map<String, Value>
Additional parameters that are not part of the schema.
Trait Implementations§
Source§impl Clone for ListPromptsRequest
impl Clone for ListPromptsRequest
Source§fn clone(&self) -> ListPromptsRequest
fn clone(&self) -> ListPromptsRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 ListPromptsRequest
impl Debug for ListPromptsRequest
Source§impl<'de> Deserialize<'de> for ListPromptsRequest
impl<'de> Deserialize<'de> for ListPromptsRequest
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 ListPromptsRequest
impl PartialEq for ListPromptsRequest
Source§impl Serialize for ListPromptsRequest
impl Serialize for ListPromptsRequest
impl StructuralPartialEq for ListPromptsRequest
Auto Trait Implementations§
impl Freeze for ListPromptsRequest
impl RefUnwindSafe for ListPromptsRequest
impl Send for ListPromptsRequest
impl Sync for ListPromptsRequest
impl Unpin for ListPromptsRequest
impl UnwindSafe for ListPromptsRequest
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