pub struct DashboardMetrics {
pub timestamp: DateTime<Utc>,
pub cost_stats: CostStats,
pub agents: Vec<AgentStatus>,
pub active_agents: usize,
pub total_messages: u64,
pub uptime_seconds: u64,
}Expand description
Dashboard metrics snapshot
Fields§
§timestamp: DateTime<Utc>§cost_stats: CostStats§agents: Vec<AgentStatus>§active_agents: usize§total_messages: u64§uptime_seconds: u64Trait Implementations§
Source§impl Clone for DashboardMetrics
impl Clone for DashboardMetrics
Source§fn clone(&self) -> DashboardMetrics
fn clone(&self) -> DashboardMetrics
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 DashboardMetrics
impl Debug for DashboardMetrics
Source§impl<'de> Deserialize<'de> for DashboardMetrics
impl<'de> Deserialize<'de> for DashboardMetrics
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 DashboardMetrics
impl RefUnwindSafe for DashboardMetrics
impl Send for DashboardMetrics
impl Sync for DashboardMetrics
impl Unpin for DashboardMetrics
impl UnsafeUnpin for DashboardMetrics
impl UnwindSafe for DashboardMetrics
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