pub struct ResponseCode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl ResponseCode
impl ResponseCode
pub const CONTINUE: ResponseCode
pub const SWITCHING_PROTOCOLS: ResponseCode
pub const PROCESSING: ResponseCode
pub const OK: ResponseCode
pub const CREATED: ResponseCode
pub const ACCEPTED: ResponseCode
pub const NON_AUTHORITATIVE_INFORMATION: ResponseCode
pub const NO_CONTENT: ResponseCode
pub const RESET_CONTENT: ResponseCode
pub const PARTIAL_CONTENT: ResponseCode
pub const MULTI_STATUS: ResponseCode
pub const ALREADY_REPORTED: ResponseCode
pub const IM_USED: ResponseCode
pub const MULTIPLE_CHOICES: ResponseCode
pub const MOVED_PERMANENTLY: ResponseCode
pub const FOUND: ResponseCode
pub const SEE_OTHER: ResponseCode
pub const NOT_MODIFIED: ResponseCode
pub const USE_PROXY: ResponseCode
pub const SWITCH_PROXY: ResponseCode
pub const TEMPORARY_REDIRECT: ResponseCode
pub const PERMANENT_REDIRECT: ResponseCode
pub const BAD_REQUEST: ResponseCode
pub const UNAUTHORIZED: ResponseCode
pub const PAYMENT_REQUIRED: ResponseCode
pub const FORBIDDEN: ResponseCode
pub const NOT_FOUND: ResponseCode
pub const METHOD_NOT_ALLOWED: ResponseCode
pub const NOT_ACCEPTABLE: ResponseCode
pub const PROXY_AUTHENTICATION_REQUIRED: ResponseCode
pub const REQUEST_TIMEOUT: ResponseCode
pub const CONFLICT: ResponseCode
pub const GONE: ResponseCode
pub const LENGTH_REQUIRED: ResponseCode
pub const PRECONDITION_FAILED: ResponseCode
pub const REQUEST_ENTITY_TOO_LARGE: ResponseCode
pub const REQUEST_URI_TOO_LONG: ResponseCode
pub const UNSUPPORTED_MEDIA_TYPE: ResponseCode
pub const REQUESTED_RANGE_NOT_SATISFIABLE: ResponseCode
pub const EXPECTATION_FAILED: ResponseCode
pub const IM_A_TEAPOT: ResponseCode
pub const MISDIRECTED_REQUEST: ResponseCode
pub const UNPROCESSABLE_ENTITY: ResponseCode
pub const LOCKED: ResponseCode
pub const FAILED_DEPENDENCY: ResponseCode
pub const UPGRADE_REQUIRED: ResponseCode
pub const PRECONDITION_REQUIRED: ResponseCode
pub const TOO_MANY_REQUESTS: ResponseCode
pub const REQUEST_HEADER_FIELDS_TOO_LARGE: ResponseCode
pub const UNAVAILABLE_FOR_LEGAL_REASONS: ResponseCode
pub const INTERNAL_SERVER_ERROR: ResponseCode
pub const NOT_IMPLEMENTED: ResponseCode
pub const BAD_GATEWAY: ResponseCode
pub const SERVICE_UNAVAILABLE: ResponseCode
pub const GATEWAY_TIMEOUT: ResponseCode
pub const HTTP_VERSION_NOT_SUPPORTED: ResponseCode
pub const VARIANT_ALSO_NEGOTIATES: ResponseCode
pub const INSUFFICIENT_STORAGE: ResponseCode
pub const LOOP_DETECTED: ResponseCode
pub const NOT_EXTENDED: ResponseCode
pub const NETWORK_AUTH_REQUIRED: ResponseCode
Trait Implementations§
Source§impl Clone for ResponseCode
impl Clone for ResponseCode
Source§fn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
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 ResponseCode
impl Debug for ResponseCode
Source§impl From<ResponseCode> for i64
impl From<ResponseCode> for i64
Source§fn from(v: ResponseCode) -> Self
fn from(v: ResponseCode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for ResponseCode
impl From<i64> for ResponseCode
Source§impl FromVariant for ResponseCode
impl FromVariant for ResponseCode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for ResponseCode
impl Hash for ResponseCode
Source§impl Ord for ResponseCode
impl Ord for ResponseCode
Source§fn cmp(&self, other: &ResponseCode) -> Ordering
fn cmp(&self, other: &ResponseCode) -> 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 ResponseCode
impl PartialEq for ResponseCode
Source§impl PartialOrd for ResponseCode
impl PartialOrd for ResponseCode
impl Copy for ResponseCode
impl Eq for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations§
impl Freeze for ResponseCode
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.