Struct aws_sdk_elasticbeanstalk::types::StatusCodes
source · #[non_exhaustive]pub struct StatusCodes {
pub status2xx: Option<i32>,
pub status3xx: Option<i32>,
pub status4xx: Option<i32>,
pub status5xx: Option<i32>,
}
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 (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status2xx: Option<i32>
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
status3xx: Option<i32>
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
status4xx: Option<i32>
The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
status5xx: Option<i32>
The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
Implementations§
source§impl StatusCodes
impl StatusCodes
sourcepub fn status2xx(&self) -> Option<i32>
pub fn status2xx(&self) -> Option<i32>
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
sourcepub fn status3xx(&self) -> Option<i32>
pub fn status3xx(&self) -> Option<i32>
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
source§impl StatusCodes
impl StatusCodes
sourcepub fn builder() -> StatusCodesBuilder
pub fn builder() -> StatusCodesBuilder
Creates a new builder-style object to manufacture StatusCodes
.
Trait Implementations§
source§impl Clone for StatusCodes
impl Clone for StatusCodes
source§fn clone(&self) -> StatusCodes
fn clone(&self) -> StatusCodes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StatusCodes
impl Debug for StatusCodes
source§impl PartialEq<StatusCodes> for StatusCodes
impl PartialEq<StatusCodes> for StatusCodes
source§fn eq(&self, other: &StatusCodes) -> bool
fn eq(&self, other: &StatusCodes) -> bool
self
and other
values to be equal, and is used
by ==
.