pub struct UserMessageCtx {
pub session_id: SessionId,
pub user_input: String,
pub event_bus: Sender<AgentEvent>,
}Fields§
§session_id: SessionId§user_input: String§event_bus: Sender<AgentEvent>Trait Implementations§
Source§impl Clone for UserMessageCtx
impl Clone for UserMessageCtx
Source§fn clone(&self) -> UserMessageCtx
fn clone(&self) -> UserMessageCtx
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 UserMessageCtx
impl !RefUnwindSafe for UserMessageCtx
impl Send for UserMessageCtx
impl Sync for UserMessageCtx
impl Unpin for UserMessageCtx
impl UnsafeUnpin for UserMessageCtx
impl !UnwindSafe for UserMessageCtx
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