pub struct SoftwareUpdate {
pub package_id: String,
pub version: String,
pub payload_hash: Hash32,
pub signature: Signature64,
}Expand description
A signed software update package ready for pre-installation verification.
Fields§
§package_id: StringUnique identifier for the update package (e.g. "firmware", "app-core").
version: StringHuman-readable version string (e.g. "1.2.3").
payload_hash: Hash32BLAKE3 hash of the raw update payload.
signature: Signature64Ed25519 signature over payload_hash produced by the trusted publisher.
Trait Implementations§
Source§impl Clone for SoftwareUpdate
impl Clone for SoftwareUpdate
Source§fn clone(&self) -> SoftwareUpdate
fn clone(&self) -> SoftwareUpdate
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 moreAuto Trait Implementations§
impl Freeze for SoftwareUpdate
impl RefUnwindSafe for SoftwareUpdate
impl Send for SoftwareUpdate
impl Sync for SoftwareUpdate
impl Unpin for SoftwareUpdate
impl UnsafeUnpin for SoftwareUpdate
impl UnwindSafe for SoftwareUpdate
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