pub trait SignedStruct<T> {
    // Required method
    fn from_payload(payload: T, signature: Signature) -> Self;
}
Expand description

This trait must be implemented by all structs that contain a self-signature.

Required Methods§

source

fn from_payload(payload: T, signature: Signature) -> Self

Build a signed struct version from the payload struct.

Implementors§