pub struct ChatEventResult {
pub content: String,
pub thinking_step: String,
pub terminal: ChatEventTerminal,
pub completion_event: String,
pub error: Option<String>,
}Expand description
Structured outcome of classifying one daemon event.
Fields§
§content: StringAssistant text chunk or final reply content.
thinking_step: StringUser-visible progress line (not a final reply).
terminal: ChatEventTerminalTerminal classification for this event.
completion_event: StringWire event type when terminal == DeliverableComplete.
error: Option<String>Error message when terminal == FailedComplete.
Trait Implementations§
Source§impl Clone for ChatEventResult
impl Clone for ChatEventResult
Source§fn clone(&self) -> ChatEventResult
fn clone(&self) -> ChatEventResult
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 ChatEventResult
impl Debug for ChatEventResult
Source§impl Default for ChatEventResult
impl Default for ChatEventResult
Source§fn default() -> ChatEventResult
fn default() -> ChatEventResult
Returns the “default value” for a type. Read more
impl Eq for ChatEventResult
Source§impl PartialEq for ChatEventResult
impl PartialEq for ChatEventResult
impl StructuralPartialEq for ChatEventResult
Auto Trait Implementations§
impl Freeze for ChatEventResult
impl RefUnwindSafe for ChatEventResult
impl Send for ChatEventResult
impl Sync for ChatEventResult
impl Unpin for ChatEventResult
impl UnsafeUnpin for ChatEventResult
impl UnwindSafe for ChatEventResult
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