Struct k8s_openapi::api::core::v1::NamespaceCondition
source · pub struct NamespaceCondition {
pub last_transition_time: Option<Time>,
pub message: Option<String>,
pub reason: Option<String>,
pub status: String,
pub type_: String,
}
Expand description
NamespaceCondition contains details about state of namespace.
Fields§
§last_transition_time: Option<Time>
§message: Option<String>
§reason: Option<String>
§status: String
Status of the condition, one of True, False, Unknown.
type_: String
Type of namespace controller condition.
Trait Implementations§
source§impl Clone for NamespaceCondition
impl Clone for NamespaceCondition
source§fn clone(&self) -> NamespaceCondition
fn clone(&self) -> NamespaceCondition
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 Debug for NamespaceCondition
impl Debug for NamespaceCondition
source§impl DeepMerge for NamespaceCondition
impl DeepMerge for NamespaceCondition
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NamespaceCondition
impl Default for NamespaceCondition
source§fn default() -> NamespaceCondition
fn default() -> NamespaceCondition
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NamespaceCondition
impl<'de> Deserialize<'de> for NamespaceCondition
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 JsonSchema for NamespaceCondition
impl JsonSchema for NamespaceCondition
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for NamespaceCondition
impl PartialEq for NamespaceCondition
source§fn eq(&self, other: &NamespaceCondition) -> bool
fn eq(&self, other: &NamespaceCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NamespaceCondition
impl Serialize for NamespaceCondition
impl StructuralPartialEq for NamespaceCondition
Auto Trait Implementations§
impl Freeze for NamespaceCondition
impl RefUnwindSafe for NamespaceCondition
impl Send for NamespaceCondition
impl Sync for NamespaceCondition
impl Unpin for NamespaceCondition
impl UnwindSafe for NamespaceCondition
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