pub struct AgentPhaseMap {
pub agents: Vec<AgentPhaseState>,
pub stale: Vec<AgentPhaseState>,
pub summary: String,
}Expand description
Aggregated view of all active agents’ phases.
Fields§
§agents: Vec<AgentPhaseState>§stale: Vec<AgentPhaseState>§summary: StringImplementations§
Source§impl AgentPhaseMap
impl AgentPhaseMap
Sourcepub fn from_agents(
agents: Vec<AgentPhaseState>,
stale: Vec<AgentPhaseState>,
) -> Self
pub fn from_agents( agents: Vec<AgentPhaseState>, stale: Vec<AgentPhaseState>, ) -> Self
Build an AgentPhaseMap from active and stale agent states.
Trait Implementations§
Source§impl Clone for AgentPhaseMap
impl Clone for AgentPhaseMap
Source§fn clone(&self) -> AgentPhaseMap
fn clone(&self) -> AgentPhaseMap
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 AgentPhaseMap
impl Debug for AgentPhaseMap
Source§impl<'de> Deserialize<'de> for AgentPhaseMap
impl<'de> Deserialize<'de> for AgentPhaseMap
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 AgentPhaseMap
impl RefUnwindSafe for AgentPhaseMap
impl Send for AgentPhaseMap
impl Sync for AgentPhaseMap
impl Unpin for AgentPhaseMap
impl UnsafeUnpin for AgentPhaseMap
impl UnwindSafe for AgentPhaseMap
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