pub struct VerifiedPayload {
pub bytes: Vec<u8>,
pub value: Value,
}Expand description
The payload of a document whose signature has verified.
Fields§
§bytes: Vec<u8>The exact bytes that were signed, which are also the bytes that were published.
value: ValueThose bytes parsed as JSON — only ever produced after a signature has verified.
Trait Implementations§
Source§impl Clone for VerifiedPayload
impl Clone for VerifiedPayload
Source§fn clone(&self) -> VerifiedPayload
fn clone(&self) -> VerifiedPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VerifiedPayload
impl RefUnwindSafe for VerifiedPayload
impl Send for VerifiedPayload
impl Sync for VerifiedPayload
impl Unpin for VerifiedPayload
impl UnsafeUnpin for VerifiedPayload
impl UnwindSafe for VerifiedPayload
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