pub struct ClientTaskSampling {
pub create_message: Option<Map<String, Value>>,
}Expand description
Task support for sampling-related requests.
JSON schema
{
"description": "Task support for sampling-related requests.",
"type": "object",
"properties": {
"createMessage": {
"description": "Whether the client supports task-augmented sampling/createMessage requests.",
"type": "object",
"additionalProperties": true
}
}
}Fields§
§create_message: Option<Map<String, Value>>Whether the client supports task-augmented sampling/createMessage requests.
Trait Implementations§
Source§impl Clone for ClientTaskSampling
impl Clone for ClientTaskSampling
Source§fn clone(&self) -> ClientTaskSampling
fn clone(&self) -> ClientTaskSampling
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 ClientTaskSampling
impl Debug for ClientTaskSampling
Source§impl Default for ClientTaskSampling
impl Default for ClientTaskSampling
Source§fn default() -> ClientTaskSampling
fn default() -> ClientTaskSampling
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientTaskSampling
impl<'de> Deserialize<'de> for ClientTaskSampling
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 ClientTaskSampling
impl RefUnwindSafe for ClientTaskSampling
impl Send for ClientTaskSampling
impl Sync for ClientTaskSampling
impl Unpin for ClientTaskSampling
impl UnwindSafe for ClientTaskSampling
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