pub struct CapacityForecast {
pub cluster_id: String,
pub current_utilization_percent: f64,
pub projected_utilization_percent: f64,
pub hours_until_90_percent: Option<u32>,
pub hours_until_full: Option<u32>,
pub recommendation: String,
}Expand description
Capacity forecast for a cluster
Fields§
§cluster_id: StringCluster ID
current_utilization_percent: f64Current average GPU utilization across the cluster
projected_utilization_percent: f64Projected utilization at the forecast horizon
hours_until_90_percent: Option<u32>Hours until capacity is projected to reach 90%
hours_until_full: Option<u32>Hours until capacity is projected to reach 100%
recommendation: StringRecommended action based on the forecast
Trait Implementations§
Source§impl Clone for CapacityForecast
impl Clone for CapacityForecast
Source§fn clone(&self) -> CapacityForecast
fn clone(&self) -> CapacityForecast
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 CapacityForecast
impl Debug for CapacityForecast
Source§impl<'de> Deserialize<'de> for CapacityForecast
impl<'de> Deserialize<'de> for CapacityForecast
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
Auto Trait Implementations§
impl Freeze for CapacityForecast
impl RefUnwindSafe for CapacityForecast
impl Send for CapacityForecast
impl Sync for CapacityForecast
impl Unpin for CapacityForecast
impl UnsafeUnpin for CapacityForecast
impl UnwindSafe for CapacityForecast
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