pub struct SchedulerConfiguration {
pub preemption_config: Option<Box<PreemptionConfig>>,
pub create_index: Option<i32>,
pub modify_index: Option<i32>,
}
Fields§
§preemption_config: Option<Box<PreemptionConfig>>
§create_index: Option<i32>
§modify_index: Option<i32>
Implementations§
Source§impl SchedulerConfiguration
impl SchedulerConfiguration
pub fn new() -> SchedulerConfiguration
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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SchedulerConfiguration
impl Debug for SchedulerConfiguration
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§fn eq(&self, other: &SchedulerConfiguration) -> bool
fn eq(&self, other: &SchedulerConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.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