pub struct UserInfoOptions { /* private fields */ }Implementations§
Source§impl UserInfoOptions
impl UserInfoOptions
pub fn new_with_values(encoding: Option<JsString>) -> UserInfoOptions
pub fn new() -> UserInfoOptions
pub fn encoding(&self) -> Option<JsString>
pub fn set_encoding(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl Clone for UserInfoOptions
impl Clone for UserInfoOptions
Source§fn clone(&self) -> UserInfoOptions
fn clone(&self) -> UserInfoOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserInfoOptions
impl Debug for UserInfoOptions
Source§impl Default for UserInfoOptions
impl Default for UserInfoOptions
Source§fn default() -> UserInfoOptions
fn default() -> UserInfoOptions
Returns the “default value” for a type. Read more
impl Eq for UserInfoOptions
Source§impl From<UserInfoOptions> for JsValue
impl From<UserInfoOptions> for JsValue
Source§fn from(value: UserInfoOptions) -> Self
fn from(value: UserInfoOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for UserInfoOptions
impl FromWasmAbi for UserInfoOptions
Source§impl IntoWasmAbi for UserInfoOptions
impl IntoWasmAbi for UserInfoOptions
Source§impl LongRefFromWasmAbi for UserInfoOptions
impl LongRefFromWasmAbi for UserInfoOptions
Source§type Abi = WasmPtr<WasmRefCell<UserInfoOptions>>
type Abi = WasmPtr<WasmRefCell<UserInfoOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<UserInfoOptions>
type Anchor = RcRef<UserInfoOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl OptionFromWasmAbi for UserInfoOptions
impl OptionFromWasmAbi for UserInfoOptions
Source§impl OptionIntoWasmAbi for UserInfoOptions
impl OptionIntoWasmAbi for UserInfoOptions
Source§impl PartialEq for UserInfoOptions
impl PartialEq for UserInfoOptions
Source§fn eq(&self, other: &UserInfoOptions) -> bool
fn eq(&self, other: &UserInfoOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for UserInfoOptions
impl RefFromWasmAbi for UserInfoOptions
Source§type Abi = WasmPtr<WasmRefCell<UserInfoOptions>>
type Abi = WasmPtr<WasmRefCell<UserInfoOptions>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<UserInfoOptions>
type Anchor = RcRef<UserInfoOptions>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for UserInfoOptions
impl RefMutFromWasmAbi for UserInfoOptions
Source§type Abi = WasmPtr<WasmRefCell<UserInfoOptions>>
type Abi = WasmPtr<WasmRefCell<UserInfoOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<UserInfoOptions>
type Anchor = RcRefMut<UserInfoOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for UserInfoOptions
impl SupportsConstructor for UserInfoOptions
impl SupportsInstanceProperty for UserInfoOptions
impl SupportsStaticProperty for UserInfoOptions
Source§impl TryFromJsValue for UserInfoOptions
impl TryFromJsValue for UserInfoOptions
Source§impl VectorFromWasmAbi for UserInfoOptions
impl VectorFromWasmAbi for UserInfoOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[UserInfoOptions]>
Source§impl VectorIntoWasmAbi for UserInfoOptions
impl VectorIntoWasmAbi for UserInfoOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[UserInfoOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for UserInfoOptions
impl WasmDescribeVector for UserInfoOptions
Auto Trait Implementations§
impl Freeze for UserInfoOptions
impl RefUnwindSafe for UserInfoOptions
impl Send for UserInfoOptions
impl Sync for UserInfoOptions
impl Unpin for UserInfoOptions
impl UnsafeUnpin for UserInfoOptions
impl UnwindSafe for UserInfoOptions
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<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn 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.