pub struct SignatureData {
pub scheme: SigningScheme,
pub data: Bytes,
}Expand description
Signature data that includes a signing scheme.
This is a simplified Rust version of the TypeScript Signature union type.
Fields§
§scheme: SigningSchemeThe signing scheme.
data: BytesThe encoded signature bytes.
Trait Implementations§
Source§impl Clone for SignatureData
impl Clone for SignatureData
Source§fn clone(&self) -> SignatureData
fn clone(&self) -> SignatureData
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 moreAuto Trait Implementations§
impl !Freeze for SignatureData
impl RefUnwindSafe for SignatureData
impl Send for SignatureData
impl Sync for SignatureData
impl Unpin for SignatureData
impl UnsafeUnpin for SignatureData
impl UnwindSafe for SignatureData
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