Struct k8s_openapi_ext::appsv1::ReplicaSetStatus
source · [−]pub struct ReplicaSetStatus {
pub available_replicas: Option<i32>,
pub conditions: Option<Vec<ReplicaSetCondition, Global>>,
pub fully_labeled_replicas: Option<i32>,
pub observed_generation: Option<i64>,
pub ready_replicas: Option<i32>,
pub replicas: i32,
}
Expand description
ReplicaSetStatus represents the current status of a ReplicaSet.
Fields
available_replicas: Option<i32>
The number of available replicas (ready for at least minReadySeconds) for this replica set.
conditions: Option<Vec<ReplicaSetCondition, Global>>
Represents the latest available observations of a replica set’s current state.
fully_labeled_replicas: Option<i32>
The number of pods that have labels matching the labels of the pod template of the replicaset.
observed_generation: Option<i64>
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
ready_replicas: Option<i32>
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
replicas: i32
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
Trait Implementations
sourceimpl Clone for ReplicaSetStatus
impl Clone for ReplicaSetStatus
sourcefn clone(&self) -> ReplicaSetStatus
fn clone(&self) -> ReplicaSetStatus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReplicaSetStatus
impl Debug for ReplicaSetStatus
sourceimpl DeepMerge for ReplicaSetStatus
impl DeepMerge for ReplicaSetStatus
sourcefn merge_from(&mut self, other: ReplicaSetStatus)
fn merge_from(&mut self, other: ReplicaSetStatus)
Merge
other
into self
.sourceimpl Default for ReplicaSetStatus
impl Default for ReplicaSetStatus
sourcefn default() -> ReplicaSetStatus
fn default() -> ReplicaSetStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ReplicaSetStatus
impl<'de> Deserialize<'de> for ReplicaSetStatus
sourcefn deserialize<D>(
deserializer: D
) -> Result<ReplicaSetStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ReplicaSetStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ReplicaSetStatus> for ReplicaSetStatus
impl PartialEq<ReplicaSetStatus> for ReplicaSetStatus
sourcefn eq(&self, other: &ReplicaSetStatus) -> bool
fn eq(&self, other: &ReplicaSetStatus) -> bool
sourceimpl Serialize for ReplicaSetStatus
impl Serialize for ReplicaSetStatus
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ReplicaSetStatus
Auto Trait Implementations
impl RefUnwindSafe for ReplicaSetStatus
impl Send for ReplicaSetStatus
impl Sync for ReplicaSetStatus
impl Unpin for ReplicaSetStatus
impl UnwindSafe for ReplicaSetStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more