pub struct StatusCodes {
pub status_2xx: Option<i64>,
pub status_3xx: Option<i64>,
pub status_4xx: Option<i64>,
pub status_5xx: Option<i64>,
}
Expand description
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions.
Fields§
§status_2xx: Option<i64>
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
status_3xx: Option<i64>
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
status_4xx: Option<i64>
The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
status_5xx: Option<i64>
The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
Trait Implementations§
Source§impl Clone for StatusCodes
impl Clone for StatusCodes
Source§fn clone(&self) -> StatusCodes
fn clone(&self) -> StatusCodes
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 StatusCodes
impl Debug for StatusCodes
Source§impl Default for StatusCodes
impl Default for StatusCodes
Source§fn default() -> StatusCodes
fn default() -> StatusCodes
Returns the “default value” for a type. Read more
Source§impl PartialEq for StatusCodes
impl PartialEq for StatusCodes
impl StructuralPartialEq for StatusCodes
Auto Trait Implementations§
impl Freeze for StatusCodes
impl RefUnwindSafe for StatusCodes
impl Send for StatusCodes
impl Sync for StatusCodes
impl Unpin for StatusCodes
impl UnwindSafe for StatusCodes
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