pub struct KubernetesWorkloadStatus {
pub available_replicas: Option<i32>,
pub conditions: Vec<KubernetesWorkloadCondition>,
pub desired_generation: Option<i64>,
pub desired_replicas: Option<i32>,
pub observed_generation: Option<i64>,
pub ready_replicas: Option<i32>,
pub rollout_reason: Option<String>,
pub updated_replicas: Option<i32>,
}Expand description
KubernetesWorkloadStatus
JSON schema
{
"type": "object",
"required": [
"conditions"
],
"properties": {
"availableReplicas": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"conditions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/KubernetesWorkloadCondition"
}
},
"desiredGeneration": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"desiredReplicas": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"observedGeneration": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"readyReplicas": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"rolloutReason": {
"type": [
"string",
"null"
]
},
"updatedReplicas": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
}
}
}Fields§
§available_replicas: Option<i32>§conditions: Vec<KubernetesWorkloadCondition>§desired_generation: Option<i64>§desired_replicas: Option<i32>§observed_generation: Option<i64>§ready_replicas: Option<i32>§rollout_reason: Option<String>§updated_replicas: Option<i32>Implementations§
Source§impl KubernetesWorkloadStatus
impl KubernetesWorkloadStatus
pub fn builder() -> KubernetesWorkloadStatus
Trait Implementations§
Source§impl Clone for KubernetesWorkloadStatus
impl Clone for KubernetesWorkloadStatus
Source§fn clone(&self) -> KubernetesWorkloadStatus
fn clone(&self) -> KubernetesWorkloadStatus
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 Debug for KubernetesWorkloadStatus
impl Debug for KubernetesWorkloadStatus
Source§impl<'de> Deserialize<'de> for KubernetesWorkloadStatus
impl<'de> Deserialize<'de> for KubernetesWorkloadStatus
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 From<&KubernetesWorkloadStatus> for KubernetesWorkloadStatus
impl From<&KubernetesWorkloadStatus> for KubernetesWorkloadStatus
Source§fn from(value: &KubernetesWorkloadStatus) -> Self
fn from(value: &KubernetesWorkloadStatus) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesWorkloadStatus> for KubernetesWorkloadStatus
impl From<KubernetesWorkloadStatus> for KubernetesWorkloadStatus
Source§fn from(value: KubernetesWorkloadStatus) -> Self
fn from(value: KubernetesWorkloadStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for KubernetesWorkloadStatus
impl Serialize for KubernetesWorkloadStatus
Source§impl TryFrom<KubernetesWorkloadStatus> for KubernetesWorkloadStatus
impl TryFrom<KubernetesWorkloadStatus> for KubernetesWorkloadStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KubernetesWorkloadStatus) -> Result<Self, ConversionError>
fn try_from(value: KubernetesWorkloadStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesWorkloadStatus
impl RefUnwindSafe for KubernetesWorkloadStatus
impl Send for KubernetesWorkloadStatus
impl Sync for KubernetesWorkloadStatus
impl Unpin for KubernetesWorkloadStatus
impl UnsafeUnpin for KubernetesWorkloadStatus
impl UnwindSafe for KubernetesWorkloadStatus
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