pub struct ScalingPlan {
pub should_spawn: bool,
pub reason: String,
}Expand description
ScalingPlan Result of a dry-run evaluation for scaling decisions
Fields§
§should_spawn: boolWhether a new worker should be spawned.
reason: StringExplanation / debug string for the decision.
Trait Implementations§
Source§impl Clone for ScalingPlan
impl Clone for ScalingPlan
Source§fn clone(&self) -> ScalingPlan
fn clone(&self) -> ScalingPlan
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 moreAuto Trait Implementations§
impl Freeze for ScalingPlan
impl RefUnwindSafe for ScalingPlan
impl Send for ScalingPlan
impl Sync for ScalingPlan
impl Unpin for ScalingPlan
impl UnwindSafe for ScalingPlan
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