pub struct ModelSummary {
pub name: String,
pub state: Option<ModelState>,
pub worker_count: u32,
pub gpu_types: Vec<String>,
pub total_queue_depth: u64,
}Expand description
Cluster-wide rollup of a model’s availability.
Fields§
§name: String§state: Option<ModelState>§worker_count: u32§gpu_types: Vec<String>§total_queue_depth: u64Trait Implementations§
Source§impl Clone for ModelSummary
impl Clone for ModelSummary
Source§fn clone(&self) -> ModelSummary
fn clone(&self) -> ModelSummary
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 ModelSummary
impl Debug for ModelSummary
Source§impl<'de> Deserialize<'de> for ModelSummary
impl<'de> Deserialize<'de> for ModelSummary
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 ModelSummary
impl PartialEq for ModelSummary
Source§impl Serialize for ModelSummary
impl Serialize for ModelSummary
impl StructuralPartialEq for ModelSummary
Auto Trait Implementations§
impl Freeze for ModelSummary
impl RefUnwindSafe for ModelSummary
impl Send for ModelSummary
impl Sync for ModelSummary
impl Unpin for ModelSummary
impl UnsafeUnpin for ModelSummary
impl UnwindSafe for ModelSummary
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