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 for StatusCodes
impl PartialEq 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 ==
.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
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>
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>
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