Enum web_sys::HeadersGuardEnum
source · [−]pub enum HeadersGuardEnum {
None,
Request,
RequestNoCors,
Response,
Immutable,
// some variants omitted
}
Expand description
The HeadersGuardEnum
enum.
This API requires the following crate features to be activated: HeadersGuardEnum
Variants
None
Request
RequestNoCors
Response
Immutable
Implementations
sourceimpl HeadersGuardEnum
impl HeadersGuardEnum
pub fn from_js_value(obj: &JsValue) -> Option<HeadersGuardEnum>
Trait Implementations
sourceimpl Clone for HeadersGuardEnum
impl Clone for HeadersGuardEnum
sourcefn clone(&self) -> HeadersGuardEnum
fn clone(&self) -> HeadersGuardEnum
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HeadersGuardEnum
impl Debug for HeadersGuardEnum
sourceimpl From<HeadersGuardEnum> for JsValue
impl From<HeadersGuardEnum> for JsValue
sourcefn from(obj: HeadersGuardEnum) -> JsValue
fn from(obj: HeadersGuardEnum) -> JsValue
Converts to this type from the input type.
sourceimpl FromWasmAbi for HeadersGuardEnum
impl FromWasmAbi for HeadersGuardEnum
sourceimpl IntoWasmAbi for HeadersGuardEnum
impl IntoWasmAbi for HeadersGuardEnum
sourceimpl OptionFromWasmAbi for HeadersGuardEnum
impl OptionFromWasmAbi for HeadersGuardEnum
sourceimpl OptionIntoWasmAbi for HeadersGuardEnum
impl OptionIntoWasmAbi for HeadersGuardEnum
sourceimpl PartialEq<HeadersGuardEnum> for HeadersGuardEnum
impl PartialEq<HeadersGuardEnum> for HeadersGuardEnum
sourceimpl WasmDescribe for HeadersGuardEnum
impl WasmDescribe for HeadersGuardEnum
impl Copy for HeadersGuardEnum
impl Eq for HeadersGuardEnum
impl StructuralEq for HeadersGuardEnum
impl StructuralPartialEq for HeadersGuardEnum
Auto Trait Implementations
impl RefUnwindSafe for HeadersGuardEnum
impl Send for HeadersGuardEnum
impl Sync for HeadersGuardEnum
impl Unpin for HeadersGuardEnum
impl UnwindSafe for HeadersGuardEnum
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
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more