Struct k8s_openapi::api::batch::v1::PodFailurePolicyOnPodConditionsPattern
source · pub struct PodFailurePolicyOnPodConditionsPattern {
pub status: String,
pub type_: String,
}
Expand description
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
Fields§
§status: String
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
type_: String
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
Trait Implementations§
source§impl Clone for PodFailurePolicyOnPodConditionsPattern
impl Clone for PodFailurePolicyOnPodConditionsPattern
source§fn clone(&self) -> PodFailurePolicyOnPodConditionsPattern
fn clone(&self) -> PodFailurePolicyOnPodConditionsPattern
Returns a copy 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 DeepMerge for PodFailurePolicyOnPodConditionsPattern
impl DeepMerge for PodFailurePolicyOnPodConditionsPattern
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for PodFailurePolicyOnPodConditionsPattern
impl Default for PodFailurePolicyOnPodConditionsPattern
source§fn default() -> PodFailurePolicyOnPodConditionsPattern
fn default() -> PodFailurePolicyOnPodConditionsPattern
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PodFailurePolicyOnPodConditionsPattern
impl<'de> Deserialize<'de> for PodFailurePolicyOnPodConditionsPattern
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 PartialEq for PodFailurePolicyOnPodConditionsPattern
impl PartialEq for PodFailurePolicyOnPodConditionsPattern
source§fn eq(&self, other: &PodFailurePolicyOnPodConditionsPattern) -> bool
fn eq(&self, other: &PodFailurePolicyOnPodConditionsPattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PodFailurePolicyOnPodConditionsPattern
Auto Trait Implementations§
impl Freeze for PodFailurePolicyOnPodConditionsPattern
impl RefUnwindSafe for PodFailurePolicyOnPodConditionsPattern
impl Send for PodFailurePolicyOnPodConditionsPattern
impl Sync for PodFailurePolicyOnPodConditionsPattern
impl Unpin for PodFailurePolicyOnPodConditionsPattern
impl UnwindSafe for PodFailurePolicyOnPodConditionsPattern
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