pub struct DeescalationConfig {
pub strong_min_calls: u32,
pub strong_max_calls: Option<u32>,
pub confirmations: u32,
pub weak_cooldown_calls: u32,
}Expand description
Optional policy for returning an escalated session to the efficient tier.
Fields§
§strong_min_calls: u32Minimum number of capable-tier turns before the judge may release the session.
strong_max_calls: Option<u32>Optional hard limit on capable-tier turns before a forced return.
confirmations: u32Consecutive judge declines required to return to the efficient tier.
weak_cooldown_calls: u32Efficient calls served without judging after a hard-limit return.
Trait Implementations§
Source§impl Clone for DeescalationConfig
impl Clone for DeescalationConfig
Source§fn clone(&self) -> DeescalationConfig
fn clone(&self) -> DeescalationConfig
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 DeescalationConfig
impl Debug for DeescalationConfig
Source§impl<'de> Deserialize<'de> for DeescalationConfig
impl<'de> Deserialize<'de> for DeescalationConfig
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 Copy for DeescalationConfig
Auto Trait Implementations§
impl Freeze for DeescalationConfig
impl RefUnwindSafe for DeescalationConfig
impl Send for DeescalationConfig
impl Sync for DeescalationConfig
impl Unpin for DeescalationConfig
impl UnsafeUnpin for DeescalationConfig
impl UnwindSafe for DeescalationConfig
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