pub struct GetStatsResponse {
pub ml_connector_count: Option<u32>,
pub ml_model_count: Option<u32>,
pub ml_config_index_status: Option<String>,
pub nodes: Option<NodeStats>,
pub ml_task_index_status: Option<String>,
pub ml_controller_index_status: Option<String>,
pub ml_connector_index_status: Option<String>,
pub ml_model_index_status: Option<String>,
}Fields§
§ml_connector_count: Option<u32>The connector count.
ml_model_count: Option<u32>The model count.
ml_config_index_status: Option<String>The config index status.
nodes: Option<NodeStats>§ml_task_index_status: Option<String>The task index status.
ml_controller_index_status: Option<String>The controller index status.
ml_connector_index_status: Option<String>The connector index status.
ml_model_index_status: Option<String>The model index status.
Implementations§
Source§impl GetStatsResponse
impl GetStatsResponse
pub fn new() -> GetStatsResponse
Trait Implementations§
Source§impl Clone for GetStatsResponse
impl Clone for GetStatsResponse
Source§fn clone(&self) -> GetStatsResponse
fn clone(&self) -> GetStatsResponse
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 GetStatsResponse
impl Debug for GetStatsResponse
Source§impl Default for GetStatsResponse
impl Default for GetStatsResponse
Source§fn default() -> GetStatsResponse
fn default() -> GetStatsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetStatsResponse
impl<'de> Deserialize<'de> for GetStatsResponse
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 GetStatsResponse
impl PartialEq for GetStatsResponse
Source§fn eq(&self, other: &GetStatsResponse) -> bool
fn eq(&self, other: &GetStatsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetStatsResponse
impl Serialize for GetStatsResponse
impl StructuralPartialEq for GetStatsResponse
Auto Trait Implementations§
impl Freeze for GetStatsResponse
impl RefUnwindSafe for GetStatsResponse
impl Send for GetStatsResponse
impl Sync for GetStatsResponse
impl Unpin for GetStatsResponse
impl UnsafeUnpin for GetStatsResponse
impl UnwindSafe for GetStatsResponse
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