Struct k8s_openapi::api::core::v1::NamespaceStatus
source · pub struct NamespaceStatus {
pub conditions: Option<Vec<NamespaceCondition>>,
pub phase: Option<String>,
}
Expand description
NamespaceStatus is information about the current status of a Namespace.
Fields§
§conditions: Option<Vec<NamespaceCondition>>
Represents the latest available observations of a namespace’s current state.
phase: Option<String>
Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
Trait Implementations§
source§impl Clone for NamespaceStatus
impl Clone for NamespaceStatus
source§fn clone(&self) -> NamespaceStatus
fn clone(&self) -> NamespaceStatus
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 NamespaceStatus
impl Debug for NamespaceStatus
source§impl DeepMerge for NamespaceStatus
impl DeepMerge for NamespaceStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NamespaceStatus
impl Default for NamespaceStatus
source§fn default() -> NamespaceStatus
fn default() -> NamespaceStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NamespaceStatus
impl<'de> Deserialize<'de> for NamespaceStatus
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 NamespaceStatus
impl JsonSchema for NamespaceStatus
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 NamespaceStatus
impl PartialEq for NamespaceStatus
source§fn eq(&self, other: &NamespaceStatus) -> bool
fn eq(&self, other: &NamespaceStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NamespaceStatus
impl Serialize for NamespaceStatus
impl StructuralPartialEq for NamespaceStatus
Auto Trait Implementations§
impl Freeze for NamespaceStatus
impl RefUnwindSafe for NamespaceStatus
impl Send for NamespaceStatus
impl Sync for NamespaceStatus
impl Unpin for NamespaceStatus
impl UnwindSafe for NamespaceStatus
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