pub struct UiEphemeralQueryData {
pub answer: Option<String>,
pub chunk: Option<String>,
pub error: Option<String>,
pub phase: UIEphemeralQueryPhase,
pub request_id: RequestId,
}Expand description
Session event “ui.ephemeral_query”. Ordered output and terminal state for a transient query that does not modify conversation history.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§answer: Option<String>Full response text, present for the completed phase.
chunk: Option<String>Ordered text delta, present for the chunk phase.
error: Option<String>Model or transport failure message, present for the failed phase.
phase: UIEphemeralQueryPhaseCurrent query lifecycle phase.
request_id: RequestIdRuntime-minted query identifier.
Trait Implementations§
Source§impl Clone for UiEphemeralQueryData
impl Clone for UiEphemeralQueryData
Source§fn clone(&self) -> UiEphemeralQueryData
fn clone(&self) -> UiEphemeralQueryData
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 UiEphemeralQueryData
impl Debug for UiEphemeralQueryData
Source§impl Default for UiEphemeralQueryData
impl Default for UiEphemeralQueryData
Source§fn default() -> UiEphemeralQueryData
fn default() -> UiEphemeralQueryData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UiEphemeralQueryData
impl<'de> Deserialize<'de> for UiEphemeralQueryData
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 UiEphemeralQueryData
impl RefUnwindSafe for UiEphemeralQueryData
impl Send for UiEphemeralQueryData
impl Sync for UiEphemeralQueryData
impl Unpin for UiEphemeralQueryData
impl UnsafeUnpin for UiEphemeralQueryData
impl UnwindSafe for UiEphemeralQueryData
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