Struct iop_keyvault_wasm::JsMorpheusPublicKey
source · [−]pub struct JsMorpheusPublicKey { /* private fields */ }
Expand description
The operations on an identifier that do not require the private key to be available in memory.
Implementations
sourceimpl JsMorpheusPublicKey
impl JsMorpheusPublicKey
sourcepub fn bip32_path(&self) -> String
pub fn bip32_path(&self) -> String
Accessor for the BIP32 path of the morpheus key.
sourcepub fn public_key(&self) -> JsMPublicKey
pub fn public_key(&self) -> JsMPublicKey
Returns the multicipher {@link PublicKey} that belongs to this key.
Trait Implementations
sourceimpl Clone for JsMorpheusPublicKey
impl Clone for JsMorpheusPublicKey
sourcefn clone(&self) -> JsMorpheusPublicKey
fn clone(&self) -> JsMorpheusPublicKey
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 JsMorpheusPublicKey
impl Debug for JsMorpheusPublicKey
sourceimpl From<JsMorpheusPublicKey> for JsValue
impl From<JsMorpheusPublicKey> for JsValue
sourcefn from(value: JsMorpheusPublicKey) -> Self
fn from(value: JsMorpheusPublicKey) -> Self
Converts to this type from the input type.
sourceimpl From<MorpheusPublicKey> for JsMorpheusPublicKey
impl From<MorpheusPublicKey> for JsMorpheusPublicKey
sourcefn from(inner: MorpheusPublicKey) -> Self
fn from(inner: MorpheusPublicKey) -> Self
Converts to this type from the input type.
sourceimpl FromWasmAbi for JsMorpheusPublicKey
impl FromWasmAbi for JsMorpheusPublicKey
sourceimpl IntoWasmAbi for JsMorpheusPublicKey
impl IntoWasmAbi for JsMorpheusPublicKey
sourceimpl RefFromWasmAbi for JsMorpheusPublicKey
impl RefFromWasmAbi for JsMorpheusPublicKey
type Anchor = Ref<'static, JsMorpheusPublicKey>
type Anchor = Ref<'static, JsMorpheusPublicKey>
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. Read more
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor
from Self::Abi
. Read more
sourceimpl RefMutFromWasmAbi for JsMorpheusPublicKey
impl RefMutFromWasmAbi for JsMorpheusPublicKey
type Anchor = RefMut<'static, JsMorpheusPublicKey>
type Anchor = RefMut<'static, JsMorpheusPublicKey>
Same as RefFromWasmAbi::Anchor
sourceunsafe 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_abi
sourceimpl WasmDescribe for JsMorpheusPublicKey
impl WasmDescribe for JsMorpheusPublicKey
sourceimpl Wraps<MorpheusPublicKey> for JsMorpheusPublicKey
impl Wraps<MorpheusPublicKey> for JsMorpheusPublicKey
sourcefn inner(&self) -> &MorpheusPublicKey
fn inner(&self) -> &MorpheusPublicKey
Converts a reference to a WASM type to a reference to the underlying Rust type.
Auto Trait Implementations
impl !RefUnwindSafe for JsMorpheusPublicKey
impl !Send for JsMorpheusPublicKey
impl !Sync for JsMorpheusPublicKey
impl Unpin for JsMorpheusPublicKey
impl !UnwindSafe for JsMorpheusPublicKey
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