pub struct EscalationCriteria {
pub behavioral_bot_score: i32,
pub request_count: i64,
pub error_rate: f64,
pub requests_per_minute: f64,
}Fields§
§behavioral_bot_score: i32§request_count: i64§error_rate: f64§requests_per_minute: f64Trait Implementations§
Source§impl Clone for EscalationCriteria
impl Clone for EscalationCriteria
Source§fn clone(&self) -> EscalationCriteria
fn clone(&self) -> EscalationCriteria
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 EscalationCriteria
impl Debug for EscalationCriteria
impl Copy for EscalationCriteria
Auto Trait Implementations§
impl Freeze for EscalationCriteria
impl RefUnwindSafe for EscalationCriteria
impl Send for EscalationCriteria
impl Sync for EscalationCriteria
impl Unpin for EscalationCriteria
impl UnsafeUnpin for EscalationCriteria
impl UnwindSafe for EscalationCriteria
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more