pub struct AdaptiveReoptimizationDecision {
pub action: AdaptiveReoptimizationAction,
pub reason: String,
pub max_misplan_ratio: f64,
pub min_misplan_ratio: f64,
}Expand description
Typed adaptive re-optimization decision.
Fields§
§action: AdaptiveReoptimizationActionDecision action.
reason: StringStable reason label.
max_misplan_ratio: f64Maximum observed mis-plan ratio used by the decision.
min_misplan_ratio: f64Minimum threshold required to attempt a candidate.
Trait Implementations§
Source§impl Clone for AdaptiveReoptimizationDecision
impl Clone for AdaptiveReoptimizationDecision
Source§fn clone(&self) -> AdaptiveReoptimizationDecision
fn clone(&self) -> AdaptiveReoptimizationDecision
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 PartialEq for AdaptiveReoptimizationDecision
impl PartialEq for AdaptiveReoptimizationDecision
Source§fn eq(&self, other: &AdaptiveReoptimizationDecision) -> bool
fn eq(&self, other: &AdaptiveReoptimizationDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdaptiveReoptimizationDecision
Auto Trait Implementations§
impl Freeze for AdaptiveReoptimizationDecision
impl RefUnwindSafe for AdaptiveReoptimizationDecision
impl Send for AdaptiveReoptimizationDecision
impl Sync for AdaptiveReoptimizationDecision
impl Unpin for AdaptiveReoptimizationDecision
impl UnsafeUnpin for AdaptiveReoptimizationDecision
impl UnwindSafe for AdaptiveReoptimizationDecision
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