pub struct AgentContribution {
pub trajectory_count: usize,
pub avg_quality: f32,
pub timestamp: u64,
pub session_duration_ms: u64,
}Expand description
Agent contribution record
Fields§
§trajectory_count: usizeNumber of trajectories contributed
avg_quality: f32Average quality of contributions
timestamp: u64Contribution timestamp
session_duration_ms: u64Session duration
Trait Implementations§
Source§impl Clone for AgentContribution
impl Clone for AgentContribution
Source§fn clone(&self) -> AgentContribution
fn clone(&self) -> AgentContribution
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 AgentContribution
impl Debug for AgentContribution
Source§impl<'de> Deserialize<'de> for AgentContribution
impl<'de> Deserialize<'de> for AgentContribution
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 AgentContribution
impl RefUnwindSafe for AgentContribution
impl Send for AgentContribution
impl Sync for AgentContribution
impl Unpin for AgentContribution
impl UnwindSafe for AgentContribution
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