pub struct CatalogSelectionRequest {
pub contract: CatalogClientContract,
pub outcome: CatalogSelectionDecision,
pub selection_ref: String,
pub session_id: SessionId,
}Expand description
Terminates one retained catalog selection group through an opaque reference previously returned by the model-safe search projection.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§contract: CatalogClientContractProtocol version and capabilities the caller requires.
outcome: CatalogSelectionDecisionThe terminal outcome declared by the caller. Timed-out means the host’s live interaction deadline elapsed; a reference whose runtime TTL elapsed is rejected separately as stale.
selection_ref: StringOpaque runtime-instance scoped reference to one visible candidate. For a non-selected outcome, any candidate reference from the same search closes that search’s retained group.
session_id: SessionIdLocally owned root session whose retained search state is being resolved.
Trait Implementations§
Source§impl Clone for CatalogSelectionRequest
impl Clone for CatalogSelectionRequest
Source§impl Debug for CatalogSelectionRequest
impl Debug for CatalogSelectionRequest
Source§impl Default for CatalogSelectionRequest
impl Default for CatalogSelectionRequest
Source§impl<'de> Deserialize<'de> for CatalogSelectionRequest
impl<'de> Deserialize<'de> for CatalogSelectionRequest
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 CatalogSelectionRequest
impl RefUnwindSafe for CatalogSelectionRequest
impl Send for CatalogSelectionRequest
impl Sync for CatalogSelectionRequest
impl Unpin for CatalogSelectionRequest
impl UnsafeUnpin for CatalogSelectionRequest
impl UnwindSafe for CatalogSelectionRequest
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