pub struct NamespaceNodePoolConfiguration {
pub denied: Vec<String>,
pub default: String,
pub allowed: Vec<String>,
}
Expand description
NamespaceNodePoolConfiguration stores configuration about node pools for a namespace.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§denied: Vec<String>
§default: String
§allowed: Vec<String>
Trait Implementations§
Source§impl Clone for NamespaceNodePoolConfiguration
impl Clone for NamespaceNodePoolConfiguration
Source§fn clone(&self) -> NamespaceNodePoolConfiguration
fn clone(&self) -> NamespaceNodePoolConfiguration
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 Default for NamespaceNodePoolConfiguration
impl Default for NamespaceNodePoolConfiguration
Source§fn default() -> NamespaceNodePoolConfiguration
fn default() -> NamespaceNodePoolConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NamespaceNodePoolConfiguration
impl<'de> Deserialize<'de> for NamespaceNodePoolConfiguration
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 NamespaceNodePoolConfiguration
impl PartialEq for NamespaceNodePoolConfiguration
Source§fn eq(&self, other: &NamespaceNodePoolConfiguration) -> bool
fn eq(&self, other: &NamespaceNodePoolConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for NamespaceNodePoolConfiguration
Auto Trait Implementations§
impl Freeze for NamespaceNodePoolConfiguration
impl RefUnwindSafe for NamespaceNodePoolConfiguration
impl Send for NamespaceNodePoolConfiguration
impl Sync for NamespaceNodePoolConfiguration
impl Unpin for NamespaceNodePoolConfiguration
impl UnwindSafe for NamespaceNodePoolConfiguration
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