pub struct SignatureBlock {
pub alg: String,
pub key: String,
pub sig: String,
}Expand description
A detached signature over the manifest’s IMMUTABLE core (doc 14 CP-11): mutations never touch what was signed, so lifecycle churn never invalidates it. Set by the host at mint; verified by anyone.
Fields§
§alg: StringSignature algorithm — ed25519 today.
key: StringThe signer’s verifying key, hex-encoded (32 bytes).
sig: StringThe signature, hex-encoded (64 bytes).
Trait Implementations§
Source§impl Clone for SignatureBlock
impl Clone for SignatureBlock
Source§fn clone(&self) -> SignatureBlock
fn clone(&self) -> SignatureBlock
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 SignatureBlock
impl Debug for SignatureBlock
Source§impl<'de> Deserialize<'de> for SignatureBlock
impl<'de> Deserialize<'de> for SignatureBlock
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
impl Eq for SignatureBlock
Source§impl PartialEq for SignatureBlock
impl PartialEq for SignatureBlock
Source§impl Serialize for SignatureBlock
impl Serialize for SignatureBlock
impl StructuralPartialEq for SignatureBlock
Auto Trait Implementations§
impl Freeze for SignatureBlock
impl RefUnwindSafe for SignatureBlock
impl Send for SignatureBlock
impl Sync for SignatureBlock
impl Unpin for SignatureBlock
impl UnsafeUnpin for SignatureBlock
impl UnwindSafe for SignatureBlock
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