pub struct AuthenticationCipher { /* private fields */ }
Implementations§
Source§impl AuthenticationCipher
impl AuthenticationCipher
pub fn get_email_hash(&self) -> String
pub fn get_password_hash(&self) -> String
pub fn get_cipher(&self) -> String
Source§impl AuthenticationCipher
impl AuthenticationCipher
pub fn decrypt_mnemonic(&self, encrypted_mnemonic: String) -> Option<String>
Trait Implementations§
Source§impl Clone for AuthenticationCipher
impl Clone for AuthenticationCipher
Source§fn clone(&self) -> AuthenticationCipher
fn clone(&self) -> AuthenticationCipher
Returns a duplicate of the value. Read more
1.0.0 · 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 AuthenticationCipher
impl Debug for AuthenticationCipher
Source§impl Default for AuthenticationCipher
impl Default for AuthenticationCipher
Source§fn default() -> AuthenticationCipher
fn default() -> AuthenticationCipher
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationCipher
impl<'de> Deserialize<'de> for AuthenticationCipher
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AuthenticationCipher> for JsValue
impl From<AuthenticationCipher> for JsValue
Source§fn from(value: AuthenticationCipher) -> Self
fn from(value: AuthenticationCipher) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for AuthenticationCipher
impl FromWasmAbi for AuthenticationCipher
Source§impl IntoWasmAbi for AuthenticationCipher
impl IntoWasmAbi for AuthenticationCipher
Source§impl PartialEq for AuthenticationCipher
impl PartialEq for AuthenticationCipher
Source§impl RefFromWasmAbi for AuthenticationCipher
impl RefFromWasmAbi for AuthenticationCipher
Source§type Anchor = RcRef<AuthenticationCipher>
type Anchor = RcRef<AuthenticationCipher>
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 Serialize for AuthenticationCipher
impl Serialize for AuthenticationCipher
Source§impl VectorFromWasmAbi for AuthenticationCipher
impl VectorFromWasmAbi for AuthenticationCipher
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AuthenticationCipher]>
Source§impl VectorIntoJsValue for AuthenticationCipher
impl VectorIntoJsValue for AuthenticationCipher
fn vector_into_jsvalue(vector: Box<[AuthenticationCipher]>) -> JsValue
Source§impl VectorIntoWasmAbi for AuthenticationCipher
impl VectorIntoWasmAbi for AuthenticationCipher
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AuthenticationCipher]>) -> Self::Abi
Source§impl WasmDescribeVector for AuthenticationCipher
impl WasmDescribeVector for AuthenticationCipher
impl Eq for AuthenticationCipher
impl StructuralPartialEq for AuthenticationCipher
impl SupportsConstructor for AuthenticationCipher
impl SupportsInstanceProperty for AuthenticationCipher
impl SupportsStaticProperty for AuthenticationCipher
Auto Trait Implementations§
impl Freeze for AuthenticationCipher
impl RefUnwindSafe for AuthenticationCipher
impl Send for AuthenticationCipher
impl Sync for AuthenticationCipher
impl Unpin for AuthenticationCipher
impl UnwindSafe for AuthenticationCipher
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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
.