pub struct PackSignature {
pub version: u32,
pub algorithm: String,
pub signature: Vec<u8>,
pub timestamp: u64,
pub signer_id: String,
}Expand description
Signature metadata for a signed pack.
Fields§
§version: u32Format version — currently 1.
algorithm: StringAlgorithm identifier, e.g. “sha256-chain”.
signature: Vec<u8>Raw 32-byte signature.
timestamp: u64Unix timestamp in seconds (0 for deterministic tests).
signer_id: StringIdentifies who signed the pack.
Auto Trait Implementations§
impl Freeze for PackSignature
impl RefUnwindSafe for PackSignature
impl Send for PackSignature
impl Sync for PackSignature
impl Unpin for PackSignature
impl UnsafeUnpin for PackSignature
impl UnwindSafe for PackSignature
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