#[repr(i64)]pub enum StatusCodeClass {
CodeNone = 0,
Code1xx = 100,
Code2xx = 200,
Code3xx = 300,
Code4xx = 400,
Code5xx = 500,
}
Expand description
StatusCodeClass : The different classes of HTTP status codes: - CodeNone = 0 - Code1xx = 100 - Code2xx = 200 - Code3xx = 300 - Code4xx = 400 - Code5xx = 500 The different classes of HTTP status codes: - CodeNone = 0 - Code1xx = 100 - Code2xx = 200 - Code3xx = 300 - Code4xx = 400 - Code5xx = 500
Variants§
Trait Implementations§
Source§impl Clone for StatusCodeClass
impl Clone for StatusCodeClass
Source§fn clone(&self) -> StatusCodeClass
fn clone(&self) -> StatusCodeClass
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 StatusCodeClass
impl Debug for StatusCodeClass
Source§impl Default for StatusCodeClass
impl Default for StatusCodeClass
Source§fn default() -> StatusCodeClass
fn default() -> StatusCodeClass
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatusCodeClass
impl<'de> Deserialize<'de> for StatusCodeClass
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StatusCodeClass
impl Display for StatusCodeClass
Source§impl Hash for StatusCodeClass
impl Hash for StatusCodeClass
Source§impl Ord for StatusCodeClass
impl Ord for StatusCodeClass
Source§fn cmp(&self, other: &StatusCodeClass) -> Ordering
fn cmp(&self, other: &StatusCodeClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StatusCodeClass
impl PartialEq for StatusCodeClass
Source§impl PartialOrd for StatusCodeClass
impl PartialOrd for StatusCodeClass
Source§impl Serialize for StatusCodeClass
impl Serialize for StatusCodeClass
impl Copy for StatusCodeClass
impl Eq for StatusCodeClass
impl StructuralPartialEq for StatusCodeClass
Auto Trait Implementations§
impl Freeze for StatusCodeClass
impl RefUnwindSafe for StatusCodeClass
impl Send for StatusCodeClass
impl Sync for StatusCodeClass
impl Unpin for StatusCodeClass
impl UnwindSafe for StatusCodeClass
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