pub struct AggregationResult {
pub agent_id: String,
pub trajectories_accepted: usize,
pub trajectories_rejected: usize,
pub consolidated: bool,
pub total_agents: usize,
pub total_trajectories: usize,
}Expand description
Result of aggregating an agent export
Fields§
§agent_id: StringAgent ID that was aggregated
trajectories_accepted: usizeNumber of trajectories accepted
trajectories_rejected: usizeNumber of trajectories rejected (below quality threshold)
consolidated: boolWhether consolidation was triggered
total_agents: usizeTotal number of contributing agents
total_trajectories: usizeTotal trajectories in coordinator
Trait Implementations§
Source§impl Clone for AggregationResult
impl Clone for AggregationResult
Source§fn clone(&self) -> AggregationResult
fn clone(&self) -> AggregationResult
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 Debug for AggregationResult
impl Debug for AggregationResult
Source§impl<'de> Deserialize<'de> for AggregationResult
impl<'de> Deserialize<'de> for AggregationResult
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 AggregationResult
impl RefUnwindSafe for AggregationResult
impl Send for AggregationResult
impl Sync for AggregationResult
impl Unpin for AggregationResult
impl UnwindSafe for AggregationResult
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