pub struct Signature {
pub sig: String,
pub signer: String,
}Expand description
One signature over a statement’s payload.
JSON schema
{
"description": "One signature over a statement's payload.",
"type": "object",
"required": [
"sig",
"signer"
],
"properties": {
"sig": {
"description": "Base64 DER ECDSA P-256 signature over the payload bytes.",
"type": "string"
},
"signer": {
"description": "Id of the signer on the signer list.",
"type": "string"
}
},
"additionalProperties": false
}Fields§
§sig: StringBase64 DER ECDSA P-256 signature over the payload bytes.
signer: StringId of the signer on the signer list.
Implementations§
Trait 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
Auto Trait Implementations§
impl Forget for Signature
impl Freeze for Signature
impl Move for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnsafeUnpin for Signature
impl UnwindSafe for Signature
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