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