Struct k8s_openapi_ext::corev1::NamespaceSpec
source · [−]Expand description
NamespaceSpec describes the attributes on a Namespace.
Fields
finalizers: Option<Vec<String, Global>>
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<NamespaceSpec, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<NamespaceSpec, <D as Deserializer<'de>>::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
sourceimpl Serialize for NamespaceSpec
impl Serialize for NamespaceSpec
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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