pub struct ComputeCapacityRecommendation {
pub desired_machines: u32,
pub reason: Option<String>,
pub utilization: Option<MetricSample>,
pub unschedulable_replicas: Option<u32>,
}Fields§
§desired_machines: u32§reason: Option<String>§utilization: Option<MetricSample>§unschedulable_replicas: Option<u32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ComputeCapacityRecommendation
impl<'de> Deserialize<'de> for ComputeCapacityRecommendation
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
impl StructuralPartialEq for ComputeCapacityRecommendation
Auto Trait Implementations§
impl Freeze for ComputeCapacityRecommendation
impl RefUnwindSafe for ComputeCapacityRecommendation
impl Send for ComputeCapacityRecommendation
impl Sync for ComputeCapacityRecommendation
impl Unpin for ComputeCapacityRecommendation
impl UnsafeUnpin for ComputeCapacityRecommendation
impl UnwindSafe for ComputeCapacityRecommendation
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