pub struct SignedPayload {
pub payload: Vec<u8>,
pub signature: Vec<u8>,
pub signer_id: String,
}Expand description
A signed payload: the raw bytes of the canonical JSON, the Ed25519 signature, and an identifier for which key produced the signature.
Fields§
§payload: Vec<u8>§signature: Vec<u8>§signer_id: StringTrait Implementations§
Source§impl Clone for SignedPayload
impl Clone for SignedPayload
Source§fn clone(&self) -> SignedPayload
fn clone(&self) -> SignedPayload
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 moreSource§impl Debug for SignedPayload
impl Debug for SignedPayload
Source§impl<'de> Deserialize<'de> for SignedPayload
impl<'de> Deserialize<'de> for SignedPayload
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
Auto Trait Implementations§
impl Freeze for SignedPayload
impl RefUnwindSafe for SignedPayload
impl Send for SignedPayload
impl Sync for SignedPayload
impl Unpin for SignedPayload
impl UnsafeUnpin for SignedPayload
impl UnwindSafe for SignedPayload
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