pub struct NodePoolSchedulerConfiguration {
pub scheduler_algorithm: SchedulerAlgorithm,
pub memory_oversubscription_enabled: Option<bool>,
}
Expand description
NodePoolSchedulerConfiguration is used to serialize the scheduler configuration of a node pool.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§scheduler_algorithm: SchedulerAlgorithm
§memory_oversubscription_enabled: Option<bool>
Implementations§
Trait Implementations§
Source§impl Clone for NodePoolSchedulerConfiguration
impl Clone for NodePoolSchedulerConfiguration
Source§fn clone(&self) -> NodePoolSchedulerConfiguration
fn clone(&self) -> NodePoolSchedulerConfiguration
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<'de> Deserialize<'de> for NodePoolSchedulerConfiguration
impl<'de> Deserialize<'de> for NodePoolSchedulerConfiguration
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 NodePoolSchedulerConfiguration
impl PartialEq for NodePoolSchedulerConfiguration
Source§fn eq(&self, other: &NodePoolSchedulerConfiguration) -> bool
fn eq(&self, other: &NodePoolSchedulerConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for NodePoolSchedulerConfiguration
Auto Trait Implementations§
impl Freeze for NodePoolSchedulerConfiguration
impl RefUnwindSafe for NodePoolSchedulerConfiguration
impl Send for NodePoolSchedulerConfiguration
impl Sync for NodePoolSchedulerConfiguration
impl Unpin for NodePoolSchedulerConfiguration
impl UnwindSafe for NodePoolSchedulerConfiguration
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