pub struct KubernetesWorkloadCondition {
pub last_transition_time: Option<DateTime<Utc>>,
pub message: Option<String>,
pub reason: Option<String>,
pub status: String,
pub type_: String,
}Expand description
KubernetesWorkloadCondition
JSON schema
{
"type": "object",
"required": [
"status",
"type"
],
"properties": {
"lastTransitionTime": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"message": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
}
}Fields§
§last_transition_time: Option<DateTime<Utc>>§message: Option<String>§reason: Option<String>§status: String§type_: StringImplementations§
Trait Implementations§
Source§impl Clone for KubernetesWorkloadCondition
impl Clone for KubernetesWorkloadCondition
Source§fn clone(&self) -> KubernetesWorkloadCondition
fn clone(&self) -> KubernetesWorkloadCondition
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 KubernetesWorkloadCondition
impl Debug for KubernetesWorkloadCondition
Source§impl<'de> Deserialize<'de> for KubernetesWorkloadCondition
impl<'de> Deserialize<'de> for KubernetesWorkloadCondition
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<&KubernetesWorkloadCondition> for KubernetesWorkloadCondition
impl From<&KubernetesWorkloadCondition> for KubernetesWorkloadCondition
Source§fn from(value: &KubernetesWorkloadCondition) -> Self
fn from(value: &KubernetesWorkloadCondition) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesWorkloadCondition> for KubernetesWorkloadCondition
impl From<KubernetesWorkloadCondition> for KubernetesWorkloadCondition
Source§fn from(value: KubernetesWorkloadCondition) -> Self
fn from(value: KubernetesWorkloadCondition) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KubernetesWorkloadCondition> for KubernetesWorkloadCondition
impl TryFrom<KubernetesWorkloadCondition> for KubernetesWorkloadCondition
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KubernetesWorkloadCondition) -> Result<Self, ConversionError>
fn try_from(value: KubernetesWorkloadCondition) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesWorkloadCondition
impl RefUnwindSafe for KubernetesWorkloadCondition
impl Send for KubernetesWorkloadCondition
impl Sync for KubernetesWorkloadCondition
impl Unpin for KubernetesWorkloadCondition
impl UnsafeUnpin for KubernetesWorkloadCondition
impl UnwindSafe for KubernetesWorkloadCondition
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