pub struct Signature {
pub by: String,
pub signature: String,
pub key: String,
pub role: SignatureRole,
pub at: u64,
}Expand description
A signature describes a cryptographic signature of the parcel list.
In the current implementation, a signature signs the list of parcels that belong on an invoice. The signature, in the current implementation, is an Ed25519 signature and is signed by the private counterpart of the given public key.
Fields§
§by: String§signature: String§key: String§role: SignatureRole§at: u64Trait Implementations§
source§impl<'de> Deserialize<'de> for Signature
impl<'de> Deserialize<'de> for Signature
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