pub struct BoxAutoscalerStatus {
pub current_replicas: u32,
pub desired_replicas: u32,
pub last_scale_time: Option<DateTime<Utc>>,
pub current_metrics: Vec<MetricValue>,
pub conditions: Vec<AutoscalerCondition>,
}Expand description
BoxAutoscaler CRD status — observed state.
Fields§
§current_replicas: u32Current number of replicas.
desired_replicas: u32Desired number of replicas (as computed by the controller).
last_scale_time: Option<DateTime<Utc>>Last time the autoscaler scaled.
current_metrics: Vec<MetricValue>Current metric values.
conditions: Vec<AutoscalerCondition>Conditions describing the autoscaler state.
Trait Implementations§
Source§impl Clone for BoxAutoscalerStatus
impl Clone for BoxAutoscalerStatus
Source§fn clone(&self) -> BoxAutoscalerStatus
fn clone(&self) -> BoxAutoscalerStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 BoxAutoscalerStatus
impl Debug for BoxAutoscalerStatus
Source§impl Default for BoxAutoscalerStatus
impl Default for BoxAutoscalerStatus
Source§fn default() -> BoxAutoscalerStatus
fn default() -> BoxAutoscalerStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoxAutoscalerStatus
impl<'de> Deserialize<'de> for BoxAutoscalerStatus
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 BoxAutoscalerStatus
impl RefUnwindSafe for BoxAutoscalerStatus
impl Send for BoxAutoscalerStatus
impl Sync for BoxAutoscalerStatus
impl Unpin for BoxAutoscalerStatus
impl UnsafeUnpin for BoxAutoscalerStatus
impl UnwindSafe for BoxAutoscalerStatus
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