pub enum FinalEmbeddedInputRequest {
Sampling(FinalEmbeddedCreateMessageParams),
Roots(FinalEmbeddedRootsListParams),
Elicitation(FinalEmbeddedElicitationParams),
}Expand description
A final MRTR descriptor embedded in a Task, without a JSON-RPC envelope.
Task input requests are correlated exclusively by their containing map
key. Consequently these descriptors deliberately omit jsonrpc, id,
and the outer request _meta capability object.
Variants§
Sampling(FinalEmbeddedCreateMessageParams)
A final sampling descriptor.
Roots(FinalEmbeddedRootsListParams)
A roots-list descriptor.
Elicitation(FinalEmbeddedElicitationParams)
A form or URL elicitation descriptor.
Implementations§
Source§impl FinalEmbeddedInputRequest
impl FinalEmbeddedInputRequest
Sourcepub const fn response_kind(&self) -> FinalEmbeddedInputKind
pub const fn response_kind(&self) -> FinalEmbeddedInputKind
Returns the response kind that may answer this descriptor.
Trait Implementations§
Source§impl Clone for FinalEmbeddedInputRequest
impl Clone for FinalEmbeddedInputRequest
Source§fn clone(&self) -> FinalEmbeddedInputRequest
fn clone(&self) -> FinalEmbeddedInputRequest
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 FinalEmbeddedInputRequest
impl Debug for FinalEmbeddedInputRequest
Source§impl<'de> Deserialize<'de> for FinalEmbeddedInputRequest
impl<'de> Deserialize<'de> for FinalEmbeddedInputRequest
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 FinalEmbeddedInputRequest
impl RefUnwindSafe for FinalEmbeddedInputRequest
impl Send for FinalEmbeddedInputRequest
impl Sync for FinalEmbeddedInputRequest
impl Unpin for FinalEmbeddedInputRequest
impl UnsafeUnpin for FinalEmbeddedInputRequest
impl UnwindSafe for FinalEmbeddedInputRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).