Skip to main content

ResponseStatusCodeReasonPhrase

Struct ResponseStatusCodeReasonPhrase 

Source
pub struct ResponseStatusCodeReasonPhrase {
Show 61 fields pub n100_continue: &'static StatusCodeReasonPhrase, pub n101_switching_protocols: &'static StatusCodeReasonPhrase, pub n102_processing: &'static StatusCodeReasonPhrase, pub n103_early_hints: &'static StatusCodeReasonPhrase, pub n200_ok: &'static StatusCodeReasonPhrase, pub n201_created: &'static StatusCodeReasonPhrase, pub n202_accepted: &'static StatusCodeReasonPhrase, pub n203_non_authoritative_information: &'static StatusCodeReasonPhrase, pub n204_no_content: &'static StatusCodeReasonPhrase, pub n205_reset_content: &'static StatusCodeReasonPhrase, pub n206_partial_content: &'static StatusCodeReasonPhrase, pub n207_multi_status: &'static StatusCodeReasonPhrase, pub n208_already_reported: &'static StatusCodeReasonPhrase, pub n226_im_used: &'static StatusCodeReasonPhrase, pub n300_multiple_choices: &'static StatusCodeReasonPhrase, pub n301_moved_permanently: &'static StatusCodeReasonPhrase, pub n302_found: &'static StatusCodeReasonPhrase, pub n303_see_other: &'static StatusCodeReasonPhrase, pub n304_not_modified: &'static StatusCodeReasonPhrase, pub n307_temporary_redirect: &'static StatusCodeReasonPhrase, pub n308_permanent_redirect: &'static StatusCodeReasonPhrase, pub n400_bad_request: &'static StatusCodeReasonPhrase, pub n401_unauthorized: &'static StatusCodeReasonPhrase, pub n402_payment_required: &'static StatusCodeReasonPhrase, pub n403_forbidden: &'static StatusCodeReasonPhrase, pub n404_not_found: &'static StatusCodeReasonPhrase, pub n405_method_not_allowed: &'static StatusCodeReasonPhrase, pub n406_not_acceptable: &'static StatusCodeReasonPhrase, pub n407_proxy_authentication_required: &'static StatusCodeReasonPhrase, pub n408_request_timeout: &'static StatusCodeReasonPhrase, pub n409_conflict: &'static StatusCodeReasonPhrase, pub n410_gone: &'static StatusCodeReasonPhrase, pub n411_length_required: &'static StatusCodeReasonPhrase, pub n412_precondition_failed: &'static StatusCodeReasonPhrase, pub n413_payload_too_large: &'static StatusCodeReasonPhrase, pub n414_uri_too_long: &'static StatusCodeReasonPhrase, pub n415_unsupported_media_type: &'static StatusCodeReasonPhrase, pub n416_range_not_satisfiable: &'static StatusCodeReasonPhrase, pub n417_expectation_failed: &'static StatusCodeReasonPhrase, pub n418_im_a_teapot: &'static StatusCodeReasonPhrase, pub n421_misdirected_request: &'static StatusCodeReasonPhrase, pub n422_unprocessable_entity: &'static StatusCodeReasonPhrase, pub n423_locked: &'static StatusCodeReasonPhrase, pub n424_failed_dependency: &'static StatusCodeReasonPhrase, pub n425_too_early: &'static StatusCodeReasonPhrase, pub n426_upgrade_required: &'static StatusCodeReasonPhrase, pub n428_precondition_required: &'static StatusCodeReasonPhrase, pub n429_too_many_requests: &'static StatusCodeReasonPhrase, pub n431_request_header_fields_too_large: &'static StatusCodeReasonPhrase, pub n451_unavailable_for_legal_reasons: &'static StatusCodeReasonPhrase, pub n500_internal_server_error: &'static StatusCodeReasonPhrase, pub n501_not_implemented: &'static StatusCodeReasonPhrase, pub n502_bad_gateway: &'static StatusCodeReasonPhrase, pub n503_service_unavailable: &'static StatusCodeReasonPhrase, pub n504_gateway_timeout: &'static StatusCodeReasonPhrase, pub n505_http_version_not_supported: &'static StatusCodeReasonPhrase, pub n506_variant_also_negotiates: &'static StatusCodeReasonPhrase, pub n507_insufficient_storage: &'static StatusCodeReasonPhrase, pub n508_loop_detected: &'static StatusCodeReasonPhrase, pub n510_not_extended: &'static StatusCodeReasonPhrase, pub n511_network_authentication_required: &'static StatusCodeReasonPhrase,
}

Fields§

§n100_continue: &'static StatusCodeReasonPhrase§n101_switching_protocols: &'static StatusCodeReasonPhrase§n102_processing: &'static StatusCodeReasonPhrase§n103_early_hints: &'static StatusCodeReasonPhrase§n200_ok: &'static StatusCodeReasonPhrase§n201_created: &'static StatusCodeReasonPhrase§n202_accepted: &'static StatusCodeReasonPhrase§n203_non_authoritative_information: &'static StatusCodeReasonPhrase§n204_no_content: &'static StatusCodeReasonPhrase§n205_reset_content: &'static StatusCodeReasonPhrase§n206_partial_content: &'static StatusCodeReasonPhrase§n207_multi_status: &'static StatusCodeReasonPhrase§n208_already_reported: &'static StatusCodeReasonPhrase§n226_im_used: &'static StatusCodeReasonPhrase§n300_multiple_choices: &'static StatusCodeReasonPhrase§n301_moved_permanently: &'static StatusCodeReasonPhrase§n302_found: &'static StatusCodeReasonPhrase§n303_see_other: &'static StatusCodeReasonPhrase§n304_not_modified: &'static StatusCodeReasonPhrase§n307_temporary_redirect: &'static StatusCodeReasonPhrase§n308_permanent_redirect: &'static StatusCodeReasonPhrase§n400_bad_request: &'static StatusCodeReasonPhrase§n401_unauthorized: &'static StatusCodeReasonPhrase§n402_payment_required: &'static StatusCodeReasonPhrase§n403_forbidden: &'static StatusCodeReasonPhrase§n404_not_found: &'static StatusCodeReasonPhrase§n405_method_not_allowed: &'static StatusCodeReasonPhrase§n406_not_acceptable: &'static StatusCodeReasonPhrase§n407_proxy_authentication_required: &'static StatusCodeReasonPhrase§n408_request_timeout: &'static StatusCodeReasonPhrase§n409_conflict: &'static StatusCodeReasonPhrase§n410_gone: &'static StatusCodeReasonPhrase§n411_length_required: &'static StatusCodeReasonPhrase§n412_precondition_failed: &'static StatusCodeReasonPhrase§n413_payload_too_large: &'static StatusCodeReasonPhrase§n414_uri_too_long: &'static StatusCodeReasonPhrase§n415_unsupported_media_type: &'static StatusCodeReasonPhrase§n416_range_not_satisfiable: &'static StatusCodeReasonPhrase§n417_expectation_failed: &'static StatusCodeReasonPhrase§n418_im_a_teapot: &'static StatusCodeReasonPhrase§n421_misdirected_request: &'static StatusCodeReasonPhrase§n422_unprocessable_entity: &'static StatusCodeReasonPhrase§n423_locked: &'static StatusCodeReasonPhrase§n424_failed_dependency: &'static StatusCodeReasonPhrase§n425_too_early: &'static StatusCodeReasonPhrase§n426_upgrade_required: &'static StatusCodeReasonPhrase§n428_precondition_required: &'static StatusCodeReasonPhrase§n429_too_many_requests: &'static StatusCodeReasonPhrase§n431_request_header_fields_too_large: &'static StatusCodeReasonPhrase§n451_unavailable_for_legal_reasons: &'static StatusCodeReasonPhrase§n500_internal_server_error: &'static StatusCodeReasonPhrase§n501_not_implemented: &'static StatusCodeReasonPhrase§n502_bad_gateway: &'static StatusCodeReasonPhrase§n503_service_unavailable: &'static StatusCodeReasonPhrase§n504_gateway_timeout: &'static StatusCodeReasonPhrase§n505_http_version_not_supported: &'static StatusCodeReasonPhrase§n506_variant_also_negotiates: &'static StatusCodeReasonPhrase§n507_insufficient_storage: &'static StatusCodeReasonPhrase§n508_loop_detected: &'static StatusCodeReasonPhrase§n510_not_extended: &'static StatusCodeReasonPhrase§n511_network_authentication_required: &'static StatusCodeReasonPhrase

Trait Implementations§

Source§

impl Clone for ResponseStatusCodeReasonPhrase

Source§

fn clone(&self) -> ResponseStatusCodeReasonPhrase

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ResponseStatusCodeReasonPhrase

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ResponseStatusCodeReasonPhrase

Source§

impl PartialEq for ResponseStatusCodeReasonPhrase

Source§

fn eq(&self, other: &ResponseStatusCodeReasonPhrase) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ResponseStatusCodeReasonPhrase

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more