pub struct DataSignature { /* private fields */ }Expand description
- signature: COSESign1 bytes
- key: COSEKey hex bytes
Implementations§
Trait Implementations§
Source§impl Clone for DataSignature
impl Clone for DataSignature
Source§fn clone(&self) -> DataSignature
fn clone(&self) -> DataSignature
Returns a copy 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<'de> Deserialize<'de> for DataSignature
impl<'de> Deserialize<'de> for DataSignature
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<DataSignature> for JsValue
impl From<DataSignature> for JsValue
Source§fn from(value: DataSignature) -> Self
fn from(value: DataSignature) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for DataSignature
impl FromWasmAbi for DataSignature
Source§impl IntoWasmAbi for DataSignature
impl IntoWasmAbi for DataSignature
Source§impl OptionFromWasmAbi for DataSignature
impl OptionFromWasmAbi for DataSignature
Source§impl OptionIntoWasmAbi for DataSignature
impl OptionIntoWasmAbi for DataSignature
Source§impl RefFromWasmAbi for DataSignature
impl RefFromWasmAbi for DataSignature
Source§type Anchor = Ref<'static, DataSignature>
type Anchor = Ref<'static, DataSignature>
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 DataSignature
impl RefMutFromWasmAbi for DataSignature
Source§impl Serialize for DataSignature
impl Serialize for DataSignature
Auto Trait Implementations§
impl Freeze for DataSignature
impl RefUnwindSafe for DataSignature
impl Send for DataSignature
impl Sync for DataSignature
impl Unpin for DataSignature
impl UnwindSafe for DataSignature
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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.