pub struct JsMorpheusSignableOperation { /* private fields */ }
Expand description
An object representing a single SSI operation on a single DID. This operation is not yet signed by a key with update rights on the DID document, and therefore needs to be added to a {@link MorpheusOperationSigner}
Implementations§
Trait Implementations§
Source§impl From<JsMorpheusSignableOperation> for JsValue
impl From<JsMorpheusSignableOperation> for JsValue
Source§fn from(value: JsMorpheusSignableOperation) -> Self
fn from(value: JsMorpheusSignableOperation) -> Self
Converts to this type from the input type.
Source§impl From<SignableOperationAttempt> for JsMorpheusSignableOperation
impl From<SignableOperationAttempt> for JsMorpheusSignableOperation
Source§fn from(inner: SignableOperationAttempt) -> Self
fn from(inner: SignableOperationAttempt) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for JsMorpheusSignableOperation
impl RefFromWasmAbi for JsMorpheusSignableOperation
Source§type Anchor = RcRef<JsMorpheusSignableOperation>
type Anchor = RcRef<JsMorpheusSignableOperation>
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 VectorFromWasmAbi for JsMorpheusSignableOperation
impl VectorFromWasmAbi for JsMorpheusSignableOperation
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JsMorpheusSignableOperation]>
Source§impl VectorIntoJsValue for JsMorpheusSignableOperation
impl VectorIntoJsValue for JsMorpheusSignableOperation
fn vector_into_jsvalue(vector: Box<[JsMorpheusSignableOperation]>) -> JsValue
Source§impl VectorIntoWasmAbi for JsMorpheusSignableOperation
impl VectorIntoWasmAbi for JsMorpheusSignableOperation
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JsMorpheusSignableOperation]>) -> Self::Abi
Source§impl WasmDescribeVector for JsMorpheusSignableOperation
impl WasmDescribeVector for JsMorpheusSignableOperation
Source§impl Wraps<SignableOperationAttempt> for JsMorpheusSignableOperation
impl Wraps<SignableOperationAttempt> for JsMorpheusSignableOperation
Source§fn inner(&self) -> &SignableOperationAttempt
fn inner(&self) -> &SignableOperationAttempt
Converts a reference to a WASM type to a reference to the underlying Rust type.
impl SupportsConstructor for JsMorpheusSignableOperation
impl SupportsInstanceProperty for JsMorpheusSignableOperation
impl SupportsStaticProperty for JsMorpheusSignableOperation
Auto Trait Implementations§
impl Freeze for JsMorpheusSignableOperation
impl RefUnwindSafe for JsMorpheusSignableOperation
impl Send for JsMorpheusSignableOperation
impl Sync for JsMorpheusSignableOperation
impl Unpin for JsMorpheusSignableOperation
impl UnwindSafe for JsMorpheusSignableOperation
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
.