pub struct ComputeCapacityRecommendation { /* private fields */ }Implementations§
Source§impl ComputeCapacityRecommendation
impl ComputeCapacityRecommendation
pub fn desired_machines<T>(self, value: T) -> Self
pub fn reason<T>(self, value: T) -> Self
pub fn unschedulable_replicas<T>(self, value: T) -> Self
pub fn utilization<T>(self, value: T) -> Self
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 From<ComputeCapacityRecommendation> for ComputeCapacityRecommendation
impl From<ComputeCapacityRecommendation> for ComputeCapacityRecommendation
Source§fn from(value: ComputeCapacityRecommendation) -> Self
fn from(value: ComputeCapacityRecommendation) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ComputeCapacityRecommendation> for ComputeCapacityRecommendation
impl TryFrom<ComputeCapacityRecommendation> for ComputeCapacityRecommendation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: ComputeCapacityRecommendation,
) -> Result<Self, ConversionError>
fn try_from( value: ComputeCapacityRecommendation, ) -> Result<Self, ConversionError>
Performs the conversion.
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