pub struct Credentials {
pub email: String,
pub password: String,
}
Expand description
Sign in with email and password credentials
Fields§
§email: String
§password: String
Trait Implementations§
Source§impl From<Credentials> for JsValue
impl From<Credentials> for JsValue
Source§fn from(value: Credentials) -> Self
fn from(value: Credentials) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for Credentials
impl FromWasmAbi for Credentials
Source§impl IntoWasmAbi for Credentials
impl IntoWasmAbi for Credentials
Source§impl LongRefFromWasmAbi for Credentials
impl LongRefFromWasmAbi for Credentials
Source§impl OptionFromWasmAbi for Credentials
impl OptionFromWasmAbi for Credentials
Source§impl OptionIntoWasmAbi for Credentials
impl OptionIntoWasmAbi for Credentials
Source§impl RefFromWasmAbi for Credentials
impl RefFromWasmAbi for Credentials
Source§type Anchor = RcRef<Credentials>
type Anchor = RcRef<Credentials>
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 Credentials
impl RefMutFromWasmAbi for Credentials
Source§impl TryFromJsValue for Credentials
impl TryFromJsValue for Credentials
Source§impl VectorFromWasmAbi for Credentials
impl VectorFromWasmAbi for Credentials
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Credentials]>
Source§impl VectorIntoJsValue for Credentials
impl VectorIntoJsValue for Credentials
fn vector_into_jsvalue(vector: Box<[Credentials]>) -> JsValue
Source§impl VectorIntoWasmAbi for Credentials
impl VectorIntoWasmAbi for Credentials
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Credentials]>) -> Self::Abi
Source§impl WasmDescribeVector for Credentials
impl WasmDescribeVector for Credentials
impl SupportsConstructor for Credentials
impl SupportsInstanceProperty for Credentials
impl SupportsStaticProperty for Credentials
Auto Trait Implementations§
impl Freeze for Credentials
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
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> 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::Abi
Source§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
.