pub struct MessageSignature {
pub alg: String,
pub key_id: KeyId,
pub sig: String,
}Expand description
A detached Ed25519 signature with algorithm and key metadata.
Fields§
§alg: StringSignature algorithm identifier (always "ed25519").
key_id: KeyIdIdentifier of the key that produced this signature.
sig: StringBase64-encoded signature bytes.
Trait Implementations§
Source§impl Clone for MessageSignature
impl Clone for MessageSignature
Source§fn clone(&self) -> MessageSignature
fn clone(&self) -> MessageSignature
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageSignature
impl Debug for MessageSignature
Source§impl<'de> Deserialize<'de> for MessageSignature
impl<'de> Deserialize<'de> for MessageSignature
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 MessageSignature
impl RefUnwindSafe for MessageSignature
impl Send for MessageSignature
impl Sync for MessageSignature
impl Unpin for MessageSignature
impl UnsafeUnpin for MessageSignature
impl UnwindSafe for MessageSignature
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