pub struct AgentPhaseTransition {
pub from: AgentPhase,
pub to: AgentPhase,
pub state: AgentPhaseState,
}Expand description
A phase transition (from -> to) with the new state.
Fields§
§from: AgentPhase§to: AgentPhase§state: AgentPhaseStateTrait Implementations§
Source§impl Clone for AgentPhaseTransition
impl Clone for AgentPhaseTransition
Source§fn clone(&self) -> AgentPhaseTransition
fn clone(&self) -> AgentPhaseTransition
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 AgentPhaseTransition
impl Debug for AgentPhaseTransition
Source§impl<'de> Deserialize<'de> for AgentPhaseTransition
impl<'de> Deserialize<'de> for AgentPhaseTransition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentPhaseTransition
impl RefUnwindSafe for AgentPhaseTransition
impl Send for AgentPhaseTransition
impl Sync for AgentPhaseTransition
impl Unpin for AgentPhaseTransition
impl UnsafeUnpin for AgentPhaseTransition
impl UnwindSafe for AgentPhaseTransition
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