pub struct ContextAssessment {
pub action: ContextAction,
pub band: ContextBand,
pub reason: ContextReason,
pub thresholds: Option<ContextThresholds>,
pub next_state: ContextState,
}Fields§
§action: ContextAction§band: ContextBand§reason: ContextReason§thresholds: Option<ContextThresholds>None when disabled, invalid, or already stopped by the hard budget.
next_state: ContextStatePersist at the host’s admission checkpoint, even if the action stops work. Repeated assessments alone have no side effects.
Trait Implementations§
Source§impl Clone for ContextAssessment
impl Clone for ContextAssessment
impl Copy for ContextAssessment
Source§impl Debug for ContextAssessment
impl Debug for ContextAssessment
impl Eq for ContextAssessment
Source§impl PartialEq for ContextAssessment
impl PartialEq for ContextAssessment
impl StructuralPartialEq for ContextAssessment
Auto Trait Implementations§
impl Freeze for ContextAssessment
impl RefUnwindSafe for ContextAssessment
impl Send for ContextAssessment
impl Sync for ContextAssessment
impl Unpin for ContextAssessment
impl UnsafeUnpin for ContextAssessment
impl UnwindSafe for ContextAssessment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.