pub struct DataSignature { /* private fields */ }Expand description
- signature: COSESign1 bytes
- key: COSEKey hex bytes
Implementations§
Trait Implementations§
Source§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 LongRefFromWasmAbi for DataSignature
impl LongRefFromWasmAbi 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 = RcRef<DataSignature>
type Anchor = RcRef<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
Source§impl TryFromJsValue for DataSignature
impl TryFromJsValue for DataSignature
Source§impl VectorFromWasmAbi for DataSignature
impl VectorFromWasmAbi for DataSignature
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[DataSignature]>
Source§impl VectorIntoJsValue for DataSignature
impl VectorIntoJsValue for DataSignature
fn vector_into_jsvalue(vector: Box<[DataSignature]>) -> JsValue
Source§impl VectorIntoWasmAbi for DataSignature
impl VectorIntoWasmAbi for DataSignature
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[DataSignature]>) -> Self::Abi
Source§impl WasmDescribeVector for DataSignature
impl WasmDescribeVector for DataSignature
impl SupportsConstructor for DataSignature
impl SupportsInstanceProperty for DataSignature
impl SupportsStaticProperty 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> 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::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.