#[non_exhaustive]pub struct AgentSummary {
pub agent: String,
pub last_seen: DateTime<Utc>,
pub runs_running: u32,
pub runs_completed: u32,
pub runs_failed: u32,
pub runs_cancelled: u32,
}Expand description
Returned by GET /_ops/agents. Fields aggregated across all runs in
the store scan window. Counts are snapshots, not transactional
w.r.t. concurrent transitions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent: StringPrimary aggregation key; matches RunLogSummary::agent.
last_seen: DateTime<Utc>Most recent started_at seen across this agent’s runs.
runs_running: u32§runs_completed: u32§runs_failed: u32§runs_cancelled: u32Trait Implementations§
Source§impl Clone for AgentSummary
impl Clone for AgentSummary
Source§fn clone(&self) -> AgentSummary
fn clone(&self) -> AgentSummary
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 AgentSummary
impl Debug for AgentSummary
Auto Trait Implementations§
impl Freeze for AgentSummary
impl RefUnwindSafe for AgentSummary
impl Send for AgentSummary
impl Sync for AgentSummary
impl Unpin for AgentSummary
impl UnsafeUnpin for AgentSummary
impl UnwindSafe for AgentSummary
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