godot::classes::http_client

Struct ResponseCode

pub struct ResponseCode { /* private fields */ }

Implementations§

§

impl ResponseCode

pub const CONTINUE: ResponseCode = _

Godot enumerator name: RESPONSE_CONTINUE

pub const SWITCHING_PROTOCOLS: ResponseCode = _

Godot enumerator name: RESPONSE_SWITCHING_PROTOCOLS

pub const PROCESSING: ResponseCode = _

Godot enumerator name: RESPONSE_PROCESSING

pub const OK: ResponseCode = _

Godot enumerator name: RESPONSE_OK

pub const CREATED: ResponseCode = _

Godot enumerator name: RESPONSE_CREATED

pub const ACCEPTED: ResponseCode = _

Godot enumerator name: RESPONSE_ACCEPTED

pub const NON_AUTHORITATIVE_INFORMATION: ResponseCode = _

Godot enumerator name: RESPONSE_NON_AUTHORITATIVE_INFORMATION

pub const NO_CONTENT: ResponseCode = _

Godot enumerator name: RESPONSE_NO_CONTENT

pub const RESET_CONTENT: ResponseCode = _

Godot enumerator name: RESPONSE_RESET_CONTENT

pub const PARTIAL_CONTENT: ResponseCode = _

Godot enumerator name: RESPONSE_PARTIAL_CONTENT

pub const MULTI_STATUS: ResponseCode = _

Godot enumerator name: RESPONSE_MULTI_STATUS

pub const ALREADY_REPORTED: ResponseCode = _

Godot enumerator name: RESPONSE_ALREADY_REPORTED

pub const IM_USED: ResponseCode = _

Godot enumerator name: RESPONSE_IM_USED

pub const MULTIPLE_CHOICES: ResponseCode = _

Godot enumerator name: RESPONSE_MULTIPLE_CHOICES

pub const MOVED_PERMANENTLY: ResponseCode = _

Godot enumerator name: RESPONSE_MOVED_PERMANENTLY

pub const FOUND: ResponseCode = _

Godot enumerator name: RESPONSE_FOUND

pub const SEE_OTHER: ResponseCode = _

Godot enumerator name: RESPONSE_SEE_OTHER

pub const NOT_MODIFIED: ResponseCode = _

Godot enumerator name: RESPONSE_NOT_MODIFIED

pub const USE_PROXY: ResponseCode = _

Godot enumerator name: RESPONSE_USE_PROXY

pub const SWITCH_PROXY: ResponseCode = _

Godot enumerator name: RESPONSE_SWITCH_PROXY

pub const TEMPORARY_REDIRECT: ResponseCode = _

Godot enumerator name: RESPONSE_TEMPORARY_REDIRECT

pub const PERMANENT_REDIRECT: ResponseCode = _

Godot enumerator name: RESPONSE_PERMANENT_REDIRECT

pub const BAD_REQUEST: ResponseCode = _

Godot enumerator name: RESPONSE_BAD_REQUEST

pub const UNAUTHORIZED: ResponseCode = _

Godot enumerator name: RESPONSE_UNAUTHORIZED

pub const PAYMENT_REQUIRED: ResponseCode = _

Godot enumerator name: RESPONSE_PAYMENT_REQUIRED

pub const FORBIDDEN: ResponseCode = _

Godot enumerator name: RESPONSE_FORBIDDEN

pub const NOT_FOUND: ResponseCode = _

Godot enumerator name: RESPONSE_NOT_FOUND

pub const METHOD_NOT_ALLOWED: ResponseCode = _

Godot enumerator name: RESPONSE_METHOD_NOT_ALLOWED

pub const NOT_ACCEPTABLE: ResponseCode = _

Godot enumerator name: RESPONSE_NOT_ACCEPTABLE

pub const PROXY_AUTHENTICATION_REQUIRED: ResponseCode = _

Godot enumerator name: RESPONSE_PROXY_AUTHENTICATION_REQUIRED

pub const REQUEST_TIMEOUT: ResponseCode = _

Godot enumerator name: RESPONSE_REQUEST_TIMEOUT

pub const CONFLICT: ResponseCode = _

Godot enumerator name: RESPONSE_CONFLICT

pub const GONE: ResponseCode = _

Godot enumerator name: RESPONSE_GONE

pub const LENGTH_REQUIRED: ResponseCode = _

Godot enumerator name: RESPONSE_LENGTH_REQUIRED

pub const PRECONDITION_FAILED: ResponseCode = _

Godot enumerator name: RESPONSE_PRECONDITION_FAILED

pub const REQUEST_ENTITY_TOO_LARGE: ResponseCode = _

Godot enumerator name: RESPONSE_REQUEST_ENTITY_TOO_LARGE

pub const REQUEST_URI_TOO_LONG: ResponseCode = _

Godot enumerator name: RESPONSE_REQUEST_URI_TOO_LONG

pub const UNSUPPORTED_MEDIA_TYPE: ResponseCode = _

Godot enumerator name: RESPONSE_UNSUPPORTED_MEDIA_TYPE

pub const REQUESTED_RANGE_NOT_SATISFIABLE: ResponseCode = _

Godot enumerator name: RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE

pub const EXPECTATION_FAILED: ResponseCode = _

Godot enumerator name: RESPONSE_EXPECTATION_FAILED

pub const IM_A_TEAPOT: ResponseCode = _

Godot enumerator name: RESPONSE_IM_A_TEAPOT

pub const MISDIRECTED_REQUEST: ResponseCode = _

Godot enumerator name: RESPONSE_MISDIRECTED_REQUEST

pub const UNPROCESSABLE_ENTITY: ResponseCode = _

Godot enumerator name: RESPONSE_UNPROCESSABLE_ENTITY

pub const LOCKED: ResponseCode = _

Godot enumerator name: RESPONSE_LOCKED

pub const FAILED_DEPENDENCY: ResponseCode = _

Godot enumerator name: RESPONSE_FAILED_DEPENDENCY

pub const UPGRADE_REQUIRED: ResponseCode = _

Godot enumerator name: RESPONSE_UPGRADE_REQUIRED

pub const PRECONDITION_REQUIRED: ResponseCode = _

Godot enumerator name: RESPONSE_PRECONDITION_REQUIRED

pub const TOO_MANY_REQUESTS: ResponseCode = _

Godot enumerator name: RESPONSE_TOO_MANY_REQUESTS

pub const REQUEST_HEADER_FIELDS_TOO_LARGE: ResponseCode = _

Godot enumerator name: RESPONSE_REQUEST_HEADER_FIELDS_TOO_LARGE

Godot enumerator name: RESPONSE_UNAVAILABLE_FOR_LEGAL_REASONS

pub const INTERNAL_SERVER_ERROR: ResponseCode = _

Godot enumerator name: RESPONSE_INTERNAL_SERVER_ERROR

pub const NOT_IMPLEMENTED: ResponseCode = _

Godot enumerator name: RESPONSE_NOT_IMPLEMENTED

pub const BAD_GATEWAY: ResponseCode = _

Godot enumerator name: RESPONSE_BAD_GATEWAY

pub const SERVICE_UNAVAILABLE: ResponseCode = _

Godot enumerator name: RESPONSE_SERVICE_UNAVAILABLE

pub const GATEWAY_TIMEOUT: ResponseCode = _

Godot enumerator name: RESPONSE_GATEWAY_TIMEOUT

pub const HTTP_VERSION_NOT_SUPPORTED: ResponseCode = _

Godot enumerator name: RESPONSE_HTTP_VERSION_NOT_SUPPORTED

pub const VARIANT_ALSO_NEGOTIATES: ResponseCode = _

Godot enumerator name: RESPONSE_VARIANT_ALSO_NEGOTIATES

pub const INSUFFICIENT_STORAGE: ResponseCode = _

Godot enumerator name: RESPONSE_INSUFFICIENT_STORAGE

pub const LOOP_DETECTED: ResponseCode = _

Godot enumerator name: RESPONSE_LOOP_DETECTED

pub const NOT_EXTENDED: ResponseCode = _

Godot enumerator name: RESPONSE_NOT_EXTENDED

pub const NETWORK_AUTH_REQUIRED: ResponseCode = _

Godot enumerator name: RESPONSE_NETWORK_AUTH_REQUIRED

Trait Implementations§

§

impl Clone for ResponseCode

§

fn clone(&self) -> ResponseCode

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for ResponseCode

§

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

Formats the value using the given formatter. Read more
§

impl EngineEnum for ResponseCode

§

fn try_from_ord(ord: i32) -> Option<ResponseCode>

§

fn ord(self) -> i32

Ordinal value of the enumerator, as specified in Godot. This is not necessarily unique.
§

fn as_str(&self) -> &'static str

§

fn godot_name(&self) -> &'static str

§

fn from_ord(ord: i32) -> Self

§

impl FromGodot for ResponseCode

§

fn try_from_godot( via: <ResponseCode as GodotConvert>::Via, ) -> Result<ResponseCode, ConvertError>

Converts the Godot representation to this type, returning Err on failure.
§

fn from_godot(via: Self::Via) -> Self

⚠️ Converts the Godot representation to this type. Read more
§

fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>

Performs the conversion from a Variant, returning Err on failure.
§

fn from_variant(variant: &Variant) -> Self

⚠️ Performs the conversion from a Variant. Read more
§

impl GodotConvert for ResponseCode

§

type Via = i32

The type through which Self is represented in Godot.
§

impl Hash for ResponseCode

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for ResponseCode

§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · 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.
§

impl ToGodot for ResponseCode

§

type ToVia<'v> = i32

Target type of to_godot(), which differs from Via for pass-by-reference types.
§

fn to_godot(&self) -> <ResponseCode as ToGodot>::ToVia<'_>

Converts this type to the Godot type by reference, usually by cloning.
§

fn to_variant(&self) -> Variant

Converts this type to a Variant.
§

impl Copy for ResponseCode

§

impl Eq for ResponseCode

§

impl StructuralPartialEq for ResponseCode

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<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

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> 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.