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 PartialEq for NamespaceSpec
impl PartialEq for NamespaceSpec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)