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 duplicate 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: NamespaceSpec)
fn merge_from(&mut self, other: NamespaceSpec)
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<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
Source§impl PartialEq for NamespaceSpec
impl PartialEq for NamespaceSpec
Source§impl Serialize for NamespaceSpec
impl Serialize for NamespaceSpec
Source§fn 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 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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more