pub struct AgentMetricsRow {
pub role: String,
pub completions: i64,
pub failures: i64,
pub restarts: i64,
pub total_cycle_secs: i64,
pub idle_polls: i64,
pub working_polls: i64,
}Expand description
Agent metrics row for batty telemetry agents.
Fields§
§role: String§completions: i64§failures: i64§restarts: i64§total_cycle_secs: i64§idle_polls: i64§working_polls: i64Trait Implementations§
Source§impl Clone for AgentMetricsRow
impl Clone for AgentMetricsRow
Source§fn clone(&self) -> AgentMetricsRow
fn clone(&self) -> AgentMetricsRow
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 moreAuto Trait Implementations§
impl Freeze for AgentMetricsRow
impl RefUnwindSafe for AgentMetricsRow
impl Send for AgentMetricsRow
impl Sync for AgentMetricsRow
impl Unpin for AgentMetricsRow
impl UnsafeUnpin for AgentMetricsRow
impl UnwindSafe for AgentMetricsRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.