pub struct ComponentSignature {
pub algorithm: String,
pub public_key: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
A single component of a composite signature.
Fields§
§algorithm: StringAlgorithm identifier (e.g., “Ed25519”, “ML-DSA-65”).
public_key: Vec<u8>Public key bytes.
signature: Vec<u8>Signature bytes.
Trait Implementations§
Source§impl Clone for ComponentSignature
impl Clone for ComponentSignature
Source§fn clone(&self) -> ComponentSignature
fn clone(&self) -> ComponentSignature
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 ComponentSignature
impl Debug for ComponentSignature
Source§impl<'de> Deserialize<'de> for ComponentSignature
impl<'de> Deserialize<'de> for ComponentSignature
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 ComponentSignature
impl RefUnwindSafe for ComponentSignature
impl Send for ComponentSignature
impl Sync for ComponentSignature
impl Unpin for ComponentSignature
impl UnsafeUnpin for ComponentSignature
impl UnwindSafe for ComponentSignature
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