Struct windows_sys::Web::Http::HttpStatusCode
[−]#[repr(transparent)]pub struct HttpStatusCode(pub i32);
Expand description
Required features: "Web_Http"
Tuple Fields
0: i32
Implementations
impl HttpStatusCode
impl HttpStatusCode
pub const None: Self = Self(0i32)
pub const Continue: Self = Self(100i32)
pub const SwitchingProtocols: Self = Self(101i32)
pub const Processing: Self = Self(102i32)
pub const Ok: Self = Self(200i32)
pub const Created: Self = Self(201i32)
pub const Accepted: Self = Self(202i32)
pub const NonAuthoritativeInformation: Self = Self(203i32)
pub const NoContent: Self = Self(204i32)
pub const ResetContent: Self = Self(205i32)
pub const PartialContent: Self = Self(206i32)
pub const MultiStatus: Self = Self(207i32)
pub const AlreadyReported: Self = Self(208i32)
pub const IMUsed: Self = Self(226i32)
pub const MultipleChoices: Self = Self(300i32)
pub const MovedPermanently: Self = Self(301i32)
pub const Found: Self = Self(302i32)
pub const SeeOther: Self = Self(303i32)
pub const NotModified: Self = Self(304i32)
pub const UseProxy: Self = Self(305i32)
pub const TemporaryRedirect: Self = Self(307i32)
pub const PermanentRedirect: Self = Self(308i32)
pub const BadRequest: Self = Self(400i32)
pub const PaymentRequired: Self = Self(402i32)
pub const Forbidden: Self = Self(403i32)
pub const NotFound: Self = Self(404i32)
pub const MethodNotAllowed: Self = Self(405i32)
pub const NotAcceptable: Self = Self(406i32)
pub const ProxyAuthenticationRequired: Self = Self(407i32)
pub const RequestTimeout: Self = Self(408i32)
pub const Conflict: Self = Self(409i32)
pub const Gone: Self = Self(410i32)
pub const LengthRequired: Self = Self(411i32)
pub const PreconditionFailed: Self = Self(412i32)
pub const RequestEntityTooLarge: Self = Self(413i32)
pub const RequestUriTooLong: Self = Self(414i32)
pub const UnsupportedMediaType: Self = Self(415i32)
pub const RequestedRangeNotSatisfiable: Self = Self(416i32)
pub const ExpectationFailed: Self = Self(417i32)
pub const UnprocessableEntity: Self = Self(422i32)
pub const Locked: Self = Self(423i32)
pub const FailedDependency: Self = Self(424i32)
pub const UpgradeRequired: Self = Self(426i32)
pub const PreconditionRequired: Self = Self(428i32)
pub const TooManyRequests: Self = Self(429i32)
pub const RequestHeaderFieldsTooLarge: Self = Self(431i32)
pub const InternalServerError: Self = Self(500i32)
pub const NotImplemented: Self = Self(501i32)
pub const BadGateway: Self = Self(502i32)
pub const GatewayTimeout: Self = Self(504i32)
pub const HttpVersionNotSupported: Self = Self(505i32)
pub const VariantAlsoNegotiates: Self = Self(506i32)
pub const InsufficientStorage: Self = Self(507i32)
pub const LoopDetected: Self = Self(508i32)
pub const NotExtended: Self = Self(510i32)
pub const NetworkAuthenticationRequired: Self = Self(511i32)
Trait Implementations
impl Clone for HttpStatusCode
impl Clone for HttpStatusCode
impl Copy for HttpStatusCode
Auto Trait Implementations
impl RefUnwindSafe for HttpStatusCode
impl Send for HttpStatusCode
impl Sync for HttpStatusCode
impl Unpin for HttpStatusCode
impl UnwindSafe for HttpStatusCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more