pub struct Signature {
pub signature: Vec<u8>,
pub public_key: Vec<u8>,
pub message: Vec<u8>,
}Expand description
A signature with its associated public key
Fields§
§signature: Vec<u8>Signature bytes (scheme-specific format)
public_key: Vec<u8>Public key bytes (scheme-specific format)
message: Vec<u8>Message that was signed
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
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