Struct signed::VerifiedPackage
zaun_community_protocol::signed::VerifiedPackage · Struct
pub struct VerifiedPackage { … }A package whose signature (unless unsigned was allowed), hashes and manifest ids were checked.
Fields
Section titled “Fields”header: BotPackage
Section titled “header: BotPackage”The header.
header_hash: [u8; 32]
Section titled “header_hash: [u8; 32]”SHA3-256 of the header bytes: the package’s identity.
publisher: Option<PublisherId>
Section titled “publisher: Option<PublisherId>”The publisher, or None for an unsigned development package.
manifest: Vec<u8>
Section titled “manifest: Vec<u8>”The manifest JSON bytes.
component: Vec<u8>
Section titled “component: Vec<u8>”The component bytes.
Methods
Section titled “Methods”signed
Section titled “signed”pub const fn signed(&self) -> boolWhether a publisher signed it.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Eq, PartialEq, StructuralPartialEq