pub struct AgentStateMutation<StateT = JsonValue> {
    pub messages: Option<Vec<Message>>,
    pub state: Option<StateT>,
    pub stop_propagation: bool,
}Fields§
§messages: Option<Vec<Message>>§state: Option<StateT>§stop_propagation: boolTrait Implementations§
Source§impl<StateT: Clone> Clone for AgentStateMutation<StateT>
 
impl<StateT: Clone> Clone for AgentStateMutation<StateT>
Source§fn clone(&self) -> AgentStateMutation<StateT>
 
fn clone(&self) -> AgentStateMutation<StateT>
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<StateT: Debug> Debug for AgentStateMutation<StateT>
 
impl<StateT: Debug> Debug for AgentStateMutation<StateT>
Auto Trait Implementations§
impl<StateT> Freeze for AgentStateMutation<StateT>where
    StateT: Freeze,
impl<StateT> RefUnwindSafe for AgentStateMutation<StateT>where
    StateT: RefUnwindSafe,
impl<StateT> Send for AgentStateMutation<StateT>where
    StateT: Send,
impl<StateT> Sync for AgentStateMutation<StateT>where
    StateT: Sync,
impl<StateT> Unpin for AgentStateMutation<StateT>where
    StateT: Unpin,
impl<StateT> UnwindSafe for AgentStateMutation<StateT>where
    StateT: UnwindSafe,
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