pub struct SchedulingConfig {
pub preemptible: Option<bool>,
pub reserved: Option<bool>,
}Expand description
Sets the scheduling options for this node.
This type is not used in any activity, and only used as part of another schema.
Fields§
§preemptible: Option<bool>Defines whether the node is preemptible.
reserved: Option<bool>Whether the node is created under a reservation.
Trait Implementations§
Source§impl Clone for SchedulingConfig
impl Clone for SchedulingConfig
Source§fn clone(&self) -> SchedulingConfig
fn clone(&self) -> SchedulingConfig
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 SchedulingConfig
impl Debug for SchedulingConfig
Source§impl Default for SchedulingConfig
impl Default for SchedulingConfig
Source§fn default() -> SchedulingConfig
fn default() -> SchedulingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulingConfig
impl<'de> Deserialize<'de> for SchedulingConfig
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 Serialize for SchedulingConfig
impl Serialize for SchedulingConfig
impl Part for SchedulingConfig
Auto Trait Implementations§
impl Freeze for SchedulingConfig
impl RefUnwindSafe for SchedulingConfig
impl Send for SchedulingConfig
impl Sync for SchedulingConfig
impl Unpin for SchedulingConfig
impl UnwindSafe for SchedulingConfig
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