pub struct ModelStats {
pub ml_executing_task_count: Option<u32>,
pub ml_action_request_count: Option<u32>,
pub ml_action_failure_count: Option<u32>,
}Fields§
§ml_executing_task_count: Option<u32>The executing task count.
ml_action_request_count: Option<u32>The request count.
ml_action_failure_count: Option<u32>The failure count.
Implementations§
Source§impl ModelStats
impl ModelStats
pub fn new() -> ModelStats
Trait Implementations§
Source§impl Clone for ModelStats
impl Clone for ModelStats
Source§fn clone(&self) -> ModelStats
fn clone(&self) -> ModelStats
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 ModelStats
impl Debug for ModelStats
Source§impl Default for ModelStats
impl Default for ModelStats
Source§fn default() -> ModelStats
fn default() -> ModelStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelStats
impl<'de> Deserialize<'de> for ModelStats
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
Source§impl PartialEq for ModelStats
impl PartialEq for ModelStats
Source§fn eq(&self, other: &ModelStats) -> bool
fn eq(&self, other: &ModelStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelStats
impl Serialize for ModelStats
impl StructuralPartialEq for ModelStats
Auto Trait Implementations§
impl Freeze for ModelStats
impl RefUnwindSafe for ModelStats
impl Send for ModelStats
impl Sync for ModelStats
impl Unpin for ModelStats
impl UnsafeUnpin for ModelStats
impl UnwindSafe for ModelStats
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