#[non_exhaustive]pub struct Namespaces {
pub namespaces: Vec<String>,
/* private fields */
}Expand description
A list of Kubernetes Namespaces.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.namespaces: Vec<String>Optional. A list of Kubernetes Namespaces.
Implementations§
Source§impl Namespaces
impl Namespaces
pub fn new() -> Self
Sourcepub fn set_namespaces<T, V>(self, v: T) -> Self
pub fn set_namespaces<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for Namespaces
impl Clone for Namespaces
Source§fn clone(&self) -> Namespaces
fn clone(&self) -> Namespaces
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 Namespaces
impl Debug for Namespaces
Source§impl Default for Namespaces
impl Default for Namespaces
Source§fn default() -> Namespaces
fn default() -> Namespaces
Returns the “default value” for a type. Read more
Source§impl PartialEq for Namespaces
impl PartialEq for Namespaces
impl StructuralPartialEq for Namespaces
Auto Trait Implementations§
impl Freeze for Namespaces
impl RefUnwindSafe for Namespaces
impl Send for Namespaces
impl Sync for Namespaces
impl Unpin for Namespaces
impl UnsafeUnpin for Namespaces
impl UnwindSafe for Namespaces
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