pub struct HttpStatus(/* private fields */);Implementations§
Source§impl HttpStatus
impl HttpStatus
pub const CONTINUE: HttpStatus
pub const SWITCHING_PROTOCOLS: HttpStatus
pub const PROCESSING: HttpStatus
pub const OK: HttpStatus
pub const CREATED: HttpStatus
pub const ACCEPTED: HttpStatus
pub const NON_AUTHORITATIVE_INFORMATION: HttpStatus
pub const NO_CONTENT: HttpStatus
pub const RESET_CONTENT: HttpStatus
pub const PARTIAL_CONTENT: HttpStatus
pub const MULTI_STATUS: HttpStatus
pub const ALREADY_REPORTED: HttpStatus
pub const IM_USED: HttpStatus
pub const MULTIPLE_CHOICES: HttpStatus
pub const MOVED_PERMANENTLY: HttpStatus
pub const FOUND: HttpStatus
pub const SEE_OTHER: HttpStatus
pub const NOT_MODIFIED: HttpStatus
pub const USE_PROXY: HttpStatus
pub const TEMPORARY_REDIRECT: HttpStatus
pub const PERMANENT_REDIRECT: HttpStatus
pub const BAD_REQUEST: HttpStatus
pub const UNAUTHORIZED: HttpStatus
pub const PAYMENT_REQUIRED: HttpStatus
pub const FORBIDDEN: HttpStatus
pub const NOT_FOUND: HttpStatus
pub const METHOD_NOT_ALLOWED: HttpStatus
pub const NOT_ACCEPTABLE: HttpStatus
pub const PROXY_AUTHENTICATION_REQUIRED: HttpStatus
pub const REQUEST_TIMEOUT: HttpStatus
pub const CONFLICT: HttpStatus
pub const GONE: HttpStatus
pub const LENGTH_REQUIRED: HttpStatus
pub const PRECONDITION_FAILED: HttpStatus
pub const PAYLOAD_TOO_LARGE: HttpStatus
pub const URI_TOO_LONG: HttpStatus
pub const UNSUPPORTED_MEDIA_TYPE: HttpStatus
pub const RANGE_NOT_SATISFIABLE: HttpStatus
pub const EXPECTATION_FAILED: HttpStatus
pub const IM_A_TEAPOT: HttpStatus
pub const MISDIRECTED_REQUEST: HttpStatus
pub const UNPROCESSABLE_ENTITY: HttpStatus
pub const LOCKED: HttpStatus
pub const FAILED_DEPENDENCY: HttpStatus
pub const UPGRADE_REQUIRED: HttpStatus
pub const PRECONDITION_REQUIRED: HttpStatus
pub const TOO_MANY_REQUESTS: HttpStatus
pub const REQUEST_HEADER_FIELDS_TOO_LARGE: HttpStatus
pub const UNAVAILABLE_FOR_LEGAL_REASONS: HttpStatus
pub const INTERNAL_SERVER_ERROR: HttpStatus
pub const NOT_IMPLEMENTED: HttpStatus
pub const BAD_GATEWAY: HttpStatus
pub const SERVICE_UNAVAILABLE: HttpStatus
pub const GATEWAY_TIMEOUT: HttpStatus
pub const HTTP_VERSION_NOT_SUPPORTED: HttpStatus
pub const VARIANT_ALSO_NEGOTIATES: HttpStatus
pub const INSUFFICIENT_STORAGE: HttpStatus
pub const LOOP_DETECTED: HttpStatus
pub const NOT_EXTENDED: HttpStatus
pub const NETWORK_AUTHENTICATION_REQUIRED: HttpStatus
Trait Implementations§
Source§impl Clone for HttpStatus
impl Clone for HttpStatus
Source§fn clone(&self) -> HttpStatus
fn clone(&self) -> HttpStatus
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 HttpStatus
impl Debug for HttpStatus
Source§impl<'de> Deserialize<'de> for HttpStatus
impl<'de> Deserialize<'de> for HttpStatus
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 HttpStatus
impl Display for HttpStatus
Source§impl From<StatusCode> for HttpStatus
impl From<StatusCode> for HttpStatus
Source§fn from(status_code: StatusCode) -> Self
fn from(status_code: StatusCode) -> Self
Converts to this type from the input type.
Source§impl FromStr for HttpStatus
impl FromStr for HttpStatus
Source§impl PartialEq for HttpStatus
impl PartialEq for HttpStatus
Source§impl Serialize for HttpStatus
impl Serialize for HttpStatus
impl Entity<'_> for HttpStatus
impl Eq for HttpStatus
impl StructuralPartialEq for HttpStatus
Auto Trait Implementations§
impl Freeze for HttpStatus
impl RefUnwindSafe for HttpStatus
impl Send for HttpStatus
impl Sync for HttpStatus
impl Unpin for HttpStatus
impl UnwindSafe for HttpStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.