pub struct SignedData {
pub public_key: PublicKey,
pub signed: Vec<u8>,
}
Expand description
Encapsulates the verification key and signed message.
Fields§
§public_key: PublicKey
Public key matching the key used to sign this message.
signed: Vec<u8>
Cryptographically signed message, containing both signature and message.
Implementations§
Auto Trait Implementations§
impl Freeze for SignedData
impl RefUnwindSafe for SignedData
impl Send for SignedData
impl Sync for SignedData
impl Unpin for SignedData
impl UnwindSafe for SignedData
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