#[non_exhaustive]pub struct SlurmOperatorConfig {
pub enabled: bool,
/* private fields */
}Expand description
Configuration for the Slurm Operator.
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.enabled: boolWhen enabled, it runs a Slurm Operator that manages the set of compute pods for Slurm Cluster.
Implementations§
Trait Implementations§
Source§impl Clone for SlurmOperatorConfig
impl Clone for SlurmOperatorConfig
Source§fn clone(&self) -> SlurmOperatorConfig
fn clone(&self) -> SlurmOperatorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlurmOperatorConfig
impl Debug for SlurmOperatorConfig
Source§impl Default for SlurmOperatorConfig
impl Default for SlurmOperatorConfig
Source§fn default() -> SlurmOperatorConfig
fn default() -> SlurmOperatorConfig
Returns the “default value” for a type. Read more
Source§impl Message for SlurmOperatorConfig
impl Message for SlurmOperatorConfig
Source§impl PartialEq for SlurmOperatorConfig
impl PartialEq for SlurmOperatorConfig
Source§fn eq(&self, other: &SlurmOperatorConfig) -> bool
fn eq(&self, other: &SlurmOperatorConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlurmOperatorConfig
Auto Trait Implementations§
impl Freeze for SlurmOperatorConfig
impl RefUnwindSafe for SlurmOperatorConfig
impl Send for SlurmOperatorConfig
impl Sync for SlurmOperatorConfig
impl Unpin for SlurmOperatorConfig
impl UnsafeUnpin for SlurmOperatorConfig
impl UnwindSafe for SlurmOperatorConfig
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