pub struct AgentWrapperEvent {
pub agent_kind: AgentWrapperKind,
pub kind: AgentWrapperEventKind,
pub channel: Option<String>,
pub text: Option<String>,
pub message: Option<String>,
pub data: Option<Value>,
}Fields§
§agent_kind: AgentWrapperKind§kind: AgentWrapperEventKind§channel: Option<String>§text: Option<String>Stable payload for TextOutput events.
message: Option<String>Stable payload for Status and Error events.
data: Option<Value>Trait Implementations§
Source§impl Clone for AgentWrapperEvent
impl Clone for AgentWrapperEvent
Source§fn clone(&self) -> AgentWrapperEvent
fn clone(&self) -> AgentWrapperEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentWrapperEvent
impl Debug for AgentWrapperEvent
Source§impl PartialEq for AgentWrapperEvent
impl PartialEq for AgentWrapperEvent
impl Eq for AgentWrapperEvent
impl StructuralPartialEq for AgentWrapperEvent
Auto Trait Implementations§
impl Freeze for AgentWrapperEvent
impl RefUnwindSafe for AgentWrapperEvent
impl Send for AgentWrapperEvent
impl Sync for AgentWrapperEvent
impl Unpin for AgentWrapperEvent
impl UnsafeUnpin for AgentWrapperEvent
impl UnwindSafe for AgentWrapperEvent
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