pub struct VerifiedPackage {
pub manifest: PackageManifest,
pub manifest_raw: Vec<u8>,
pub sig_raw: Vec<u8>,
}Expand description
Result of a successful package verification.
Contains the parsed manifest along with the raw bytes needed for transparent forwarding to AIS for signature verification.
Fields§
§manifest: PackageManifestParsed package manifest.
manifest_raw: Vec<u8>Raw manifest.toml bytes as stored in the ZIP (the signed payload).
sig_raw: Vec<u8>Raw manifest.sig bytes (64-byte Ed25519 signature).
Trait Implementations§
Source§impl Clone for VerifiedPackage
impl Clone for VerifiedPackage
Source§fn clone(&self) -> VerifiedPackage
fn clone(&self) -> VerifiedPackage
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 moreAuto Trait Implementations§
impl Freeze for VerifiedPackage
impl RefUnwindSafe for VerifiedPackage
impl Send for VerifiedPackage
impl Sync for VerifiedPackage
impl Unpin for VerifiedPackage
impl UnsafeUnpin for VerifiedPackage
impl UnwindSafe for VerifiedPackage
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