Struct k8s_openapi::api::core::v1::NamespaceSpec
source · [−]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
sourceimpl Clone for NamespaceSpec
impl Clone for NamespaceSpec
sourcefn clone(&self) -> NamespaceSpec
fn clone(&self) -> NamespaceSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NamespaceSpec
impl Debug for NamespaceSpec
sourceimpl Default for NamespaceSpec
impl Default for NamespaceSpec
sourcefn default() -> NamespaceSpec
fn default() -> NamespaceSpec
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NamespaceSpec
impl<'de> Deserialize<'de> for NamespaceSpec
sourcefn 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
sourceimpl PartialEq<NamespaceSpec> for NamespaceSpec
impl PartialEq<NamespaceSpec> for NamespaceSpec
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &NamespaceSpec) -> bool
fn ne(&self, other: &NamespaceSpec) -> bool
This method tests for !=
.
sourceimpl Serialize for NamespaceSpec
impl Serialize for NamespaceSpec
impl StructuralPartialEq for NamespaceSpec
Auto Trait Implementations
impl RefUnwindSafe for NamespaceSpec
impl Send for NamespaceSpec
impl Sync for NamespaceSpec
impl Unpin for NamespaceSpec
impl UnwindSafe for NamespaceSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more