pub struct DocumentSignature {
pub algorithm: String,
pub key_id: String,
pub signature_base64: String,
}Expand description
One signature over a document’s payload bytes.
Fields§
§algorithm: StringSignature algorithm; the format defines only ed25519.
key_id: StringIdentifier of the key that produced this signature.
signature_base64: StringThe signature itself.
Trait Implementations§
Source§impl Clone for DocumentSignature
impl Clone for DocumentSignature
Source§fn clone(&self) -> DocumentSignature
fn clone(&self) -> DocumentSignature
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 moreSource§impl Debug for DocumentSignature
impl Debug for DocumentSignature
Source§impl<'de> Deserialize<'de> for DocumentSignature
impl<'de> Deserialize<'de> for DocumentSignature
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 DocumentSignature
impl RefUnwindSafe for DocumentSignature
impl Send for DocumentSignature
impl Sync for DocumentSignature
impl Unpin for DocumentSignature
impl UnsafeUnpin for DocumentSignature
impl UnwindSafe for DocumentSignature
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