Struct k8s_openapi::api::core::v1::NamespaceSpec
source · pub struct NamespaceSpec {
pub finalizers: Option<Vec<String>>,
}
Expand description
NamespaceSpec describes the attributes on a Namespace.
Fields§
§finalizers: Option<Vec<String>>
Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
Trait Implementations§
source§impl Clone for NamespaceSpec
impl Clone for NamespaceSpec
source§fn clone(&self) -> NamespaceSpec
fn clone(&self) -> NamespaceSpec
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 NamespaceSpec
impl Debug for NamespaceSpec
source§impl DeepMerge for NamespaceSpec
impl DeepMerge for NamespaceSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NamespaceSpec
impl Default for NamespaceSpec
source§fn default() -> NamespaceSpec
fn default() -> NamespaceSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NamespaceSpec
impl<'de> Deserialize<'de> for NamespaceSpec
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 NamespaceSpec
impl JsonSchema for NamespaceSpec
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 NamespaceSpec
impl PartialEq for NamespaceSpec
source§fn eq(&self, other: &NamespaceSpec) -> bool
fn eq(&self, other: &NamespaceSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NamespaceSpec
impl Serialize for NamespaceSpec
impl StructuralPartialEq for NamespaceSpec
Auto Trait Implementations§
impl Freeze for NamespaceSpec
impl RefUnwindSafe for NamespaceSpec
impl Send for NamespaceSpec
impl Sync for NamespaceSpec
impl Unpin for NamespaceSpec
impl UnwindSafe for NamespaceSpec
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