pub struct DuplexOutput {
pub event: Value,
pub correlation_id: Option<String>,
}Expand description
An agent output event received over the duplex channel.
event is the agent’s output event (id / topic / type / key /
payload); correlation_id identifies the input that produced it (the id
returned by the matching DuplexChannel::send).
Fields§
§event: ValueThe agent’s output event JSON.
correlation_id: Option<String>Correlation id matching the input that produced this output, if the server supplied one.
Trait Implementations§
Source§impl Clone for DuplexOutput
impl Clone for DuplexOutput
Source§fn clone(&self) -> DuplexOutput
fn clone(&self) -> DuplexOutput
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 moreAuto Trait Implementations§
impl Freeze for DuplexOutput
impl RefUnwindSafe for DuplexOutput
impl Send for DuplexOutput
impl Sync for DuplexOutput
impl Unpin for DuplexOutput
impl UnsafeUnpin for DuplexOutput
impl UnwindSafe for DuplexOutput
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