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 Clone for ComputeCapacityRecommendation
impl Clone for ComputeCapacityRecommendation
Source§fn clone(&self) -> ComputeCapacityRecommendation
fn clone(&self) -> ComputeCapacityRecommendation
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<'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
Source§impl PartialEq for ComputeCapacityRecommendation
impl PartialEq for ComputeCapacityRecommendation
Source§fn eq(&self, other: &ComputeCapacityRecommendation) -> bool
fn eq(&self, other: &ComputeCapacityRecommendation) -> bool
Tests for
self and other values to be equal, and is used by ==.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