Struct aws_sdk_elasticbeanstalk::model::StatusCodes
source · #[non_exhaustive]pub struct StatusCodes { /* private fields */ }
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.
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() -> Builder
pub fn builder() -> Builder
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
Returns a copy 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 PartialEq<StatusCodes> for StatusCodes
impl PartialEq<StatusCodes> for StatusCodes
source§fn eq(&self, other: &StatusCodes) -> bool
fn eq(&self, other: &StatusCodes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.