pub struct DynamicExecutorAllocation {
pub enabled: Option<bool>,
pub min_executors: Option<i32>,
pub max_executors: Option<i32>,
}Expand description
Dynamic Executor Allocation Properties
Fields§
§enabled: Option<bool>Indicates whether Dynamic Executor Allocation is enabled or not.
min_executors: Option<i32>The minimum number of executors alloted
max_executors: Option<i32>The maximum number of executors alloted
Implementations§
Trait Implementations§
Source§impl Clone for DynamicExecutorAllocation
impl Clone for DynamicExecutorAllocation
Source§fn clone(&self) -> DynamicExecutorAllocation
fn clone(&self) -> DynamicExecutorAllocation
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 DynamicExecutorAllocation
impl Debug for DynamicExecutorAllocation
Source§impl Default for DynamicExecutorAllocation
impl Default for DynamicExecutorAllocation
Source§fn default() -> DynamicExecutorAllocation
fn default() -> DynamicExecutorAllocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DynamicExecutorAllocation
impl<'de> Deserialize<'de> for DynamicExecutorAllocation
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
impl StructuralPartialEq for DynamicExecutorAllocation
Auto Trait Implementations§
impl Freeze for DynamicExecutorAllocation
impl RefUnwindSafe for DynamicExecutorAllocation
impl Send for DynamicExecutorAllocation
impl Sync for DynamicExecutorAllocation
impl Unpin for DynamicExecutorAllocation
impl UnwindSafe for DynamicExecutorAllocation
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