pub struct SchedulingPolicy {
pub concurrency: Option<i64>,
pub max_slots: Option<i64>,
}Expand description
The scheduling policy controls how a reservation’s resources are distributed.
This type is not used in any activity, and only used as part of another schema.
Fields§
§concurrency: Option<i64>Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value. This feature is not yet generally available.
max_slots: Option<i64>Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value. This feature is not yet generally available.
Trait Implementations§
Source§impl Clone for SchedulingPolicy
impl Clone for SchedulingPolicy
Source§fn clone(&self) -> SchedulingPolicy
fn clone(&self) -> SchedulingPolicy
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 SchedulingPolicy
impl Debug for SchedulingPolicy
Source§impl Default for SchedulingPolicy
impl Default for SchedulingPolicy
Source§fn default() -> SchedulingPolicy
fn default() -> SchedulingPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchedulingPolicy
impl<'de> Deserialize<'de> for SchedulingPolicy
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 SchedulingPolicy
impl Serialize for SchedulingPolicy
impl Part for SchedulingPolicy
Auto Trait Implementations§
impl Freeze for SchedulingPolicy
impl RefUnwindSafe for SchedulingPolicy
impl Send for SchedulingPolicy
impl Sync for SchedulingPolicy
impl Unpin for SchedulingPolicy
impl UnwindSafe for SchedulingPolicy
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