pub struct SessionInputNeededSetAction {
pub request: SessionInputRequest,
}Expand description
A session-level input request was added or updated.
Upsert semantics keyed by {@link SessionInputRequest.id | request.id}: the
host dispatches this with the full {@link SessionInputRequest} to append a new
entry to {@link SessionState.inputNeeded} or replace the existing entry with
the same id.
Server-originated: the host mirrors chat-level requests (elicitations, tool
confirmations, client-tool executions) into the session aggregate so clients
subscribed only to the session channel can discover them. Clients respond by
dispatching the ordinary chat/* action to the entry’s chat channel — see
{@link SessionInputRequest}.
Fields§
§request: SessionInputRequestThe input request to add or update, matched by id.
Trait Implementations§
Source§impl Clone for SessionInputNeededSetAction
impl Clone for SessionInputNeededSetAction
Source§fn clone(&self) -> SessionInputNeededSetAction
fn clone(&self) -> SessionInputNeededSetAction
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 SessionInputNeededSetAction
impl Debug for SessionInputNeededSetAction
Source§impl<'de> Deserialize<'de> for SessionInputNeededSetAction
impl<'de> Deserialize<'de> for SessionInputNeededSetAction
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 SessionInputNeededSetAction
impl PartialEq for SessionInputNeededSetAction
Source§fn eq(&self, other: &SessionInputNeededSetAction) -> bool
fn eq(&self, other: &SessionInputNeededSetAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionInputNeededSetAction
Auto Trait Implementations§
impl Freeze for SessionInputNeededSetAction
impl RefUnwindSafe for SessionInputNeededSetAction
impl Send for SessionInputNeededSetAction
impl Sync for SessionInputNeededSetAction
impl Unpin for SessionInputNeededSetAction
impl UnsafeUnpin for SessionInputNeededSetAction
impl UnwindSafe for SessionInputNeededSetAction
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