Struct aws_sdk_elasticbeanstalk::types::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() -> 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
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 ==.impl StructuralPartialEq for StatusCodes
Auto Trait Implementations§
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