pub struct SchedulerConfiguration {
pub create_index: Option<i32>,
pub memory_oversubscription_enabled: Option<bool>,
pub modify_index: Option<i32>,
pub pause_eval_broker: Option<bool>,
pub preemption_config: Option<PreemptionConfig>,
pub reject_job_registration: Option<bool>,
pub scheduler_algorithm: Option<String>,
}Fields§
§create_index: Option<i32>§memory_oversubscription_enabled: Option<bool>§modify_index: Option<i32>§pause_eval_broker: Option<bool>§preemption_config: Option<PreemptionConfig>§reject_job_registration: Option<bool>§scheduler_algorithm: Option<String>Trait Implementations§
Source§impl Clone for SchedulerConfiguration
impl Clone for SchedulerConfiguration
Source§fn clone(&self) -> SchedulerConfiguration
fn clone(&self) -> SchedulerConfiguration
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 SchedulerConfiguration
impl Debug for SchedulerConfiguration
Source§impl Default for SchedulerConfiguration
impl Default for SchedulerConfiguration
Source§fn default() -> SchedulerConfiguration
fn default() -> SchedulerConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulerConfiguration
impl<'de> Deserialize<'de> for SchedulerConfiguration
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 SchedulerConfiguration
impl PartialEq for SchedulerConfiguration
Source§impl Serialize for SchedulerConfiguration
impl Serialize for SchedulerConfiguration
impl StructuralPartialEq for SchedulerConfiguration
Auto Trait Implementations§
impl Freeze for SchedulerConfiguration
impl RefUnwindSafe for SchedulerConfiguration
impl Send for SchedulerConfiguration
impl Sync for SchedulerConfiguration
impl Unpin for SchedulerConfiguration
impl UnwindSafe for SchedulerConfiguration
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