pub struct PreemptionConfig {
pub system_scheduler_enabled: Option<bool>,
pub batch_scheduler_enabled: Option<bool>,
pub service_scheduler_enabled: Option<bool>,
}
Fields§
§system_scheduler_enabled: Option<bool>
§batch_scheduler_enabled: Option<bool>
§service_scheduler_enabled: Option<bool>
Implementations§
Source§impl PreemptionConfig
impl PreemptionConfig
pub fn new() -> PreemptionConfig
Trait Implementations§
Source§impl Clone for PreemptionConfig
impl Clone for PreemptionConfig
Source§fn clone(&self) -> PreemptionConfig
fn clone(&self) -> PreemptionConfig
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 PreemptionConfig
impl Debug for PreemptionConfig
Source§impl<'de> Deserialize<'de> for PreemptionConfig
impl<'de> Deserialize<'de> for PreemptionConfig
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 PreemptionConfig
impl PartialEq for PreemptionConfig
Source§impl Serialize for PreemptionConfig
impl Serialize for PreemptionConfig
impl StructuralPartialEq for PreemptionConfig
Auto Trait Implementations§
impl Freeze for PreemptionConfig
impl RefUnwindSafe for PreemptionConfig
impl Send for PreemptionConfig
impl Sync for PreemptionConfig
impl Unpin for PreemptionConfig
impl UnwindSafe for PreemptionConfig
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