pub struct Requests {
pub long_term_allowed: Option<i32>,
pub long_term_denied: Option<i32>,
pub ratio: Option<f64>,
pub short_term_allowed: Option<i32>,
}Expand description
Information about the requests relevant to the finding.
This type is not used in any activity, and only used as part of another schema.
Fields§
§long_term_allowed: Option<i32>Allowed RPS (requests per second) over the long term.
long_term_denied: Option<i32>Denied RPS (requests per second) over the long term.
ratio: Option<f64>For ‘Increasing deny ratio’, the ratio is the denied traffic divided by the allowed traffic. For ‘Allowed traffic spike’, the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.
short_term_allowed: Option<i32>Allowed RPS (requests per second) in the short term.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Requests
impl<'de> Deserialize<'de> for Requests
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 Part for Requests
Auto Trait Implementations§
impl Freeze for Requests
impl RefUnwindSafe for Requests
impl Send for Requests
impl Sync for Requests
impl Unpin for Requests
impl UnsafeUnpin for Requests
impl UnwindSafe for Requests
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