pub struct ImmutableSignature {
pub algorithm: String,
pub public_key: Vec<u8>,
pub signature: Vec<u8>,
pub config_hash: Hash,
}Expand description
Quantum-resistant signature for immutable deployment
Fields§
§algorithm: StringAlgorithm used (e.g., “ML-DSA-87”, “ML-DSA-65”)
public_key: Vec<u8>Public key of the signer
signature: Vec<u8>The signature bytes
config_hash: HashHash of the signed configuration
Trait Implementations§
Source§impl Clone for ImmutableSignature
impl Clone for ImmutableSignature
Source§fn clone(&self) -> ImmutableSignature
fn clone(&self) -> ImmutableSignature
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 ImmutableSignature
impl Debug for ImmutableSignature
Source§impl<'de> Deserialize<'de> for ImmutableSignature
impl<'de> Deserialize<'de> for ImmutableSignature
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
Source§impl PartialEq for ImmutableSignature
impl PartialEq for ImmutableSignature
Source§impl Serialize for ImmutableSignature
impl Serialize for ImmutableSignature
impl Eq for ImmutableSignature
impl StructuralPartialEq for ImmutableSignature
Auto Trait Implementations§
impl Freeze for ImmutableSignature
impl RefUnwindSafe for ImmutableSignature
impl Send for ImmutableSignature
impl Sync for ImmutableSignature
impl Unpin for ImmutableSignature
impl UnwindSafe for ImmutableSignature
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