pub struct ParsedPackage {
pub header: BotPackage,
pub header_bytes: Vec<u8>,
pub signature: Vec<u8>,
pub manifest: Vec<u8>,
pub component: Vec<u8>,
}Expand description
The parts of a .zbot file, not yet verified.
Fields§
§header: BotPackageThe decoded header (read only to find the publisher key until verified).
header_bytes: Vec<u8>The header’s canonical bytes, which the signature covers.
signature: Vec<u8>The 3 374 signature bytes (all zero for an unsigned package).
manifest: Vec<u8>The manifest JSON bytes.
component: Vec<u8>The WebAssembly component bytes.
Trait Implementations§
Source§impl Clone for ParsedPackage
impl Clone for ParsedPackage
Source§fn clone(&self) -> ParsedPackage
fn clone(&self) -> ParsedPackage
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 ParsedPackage
impl Debug for ParsedPackage
impl Eq for ParsedPackage
Source§impl PartialEq for ParsedPackage
impl PartialEq for ParsedPackage
impl StructuralPartialEq for ParsedPackage
Auto Trait Implementations§
impl Freeze for ParsedPackage
impl RefUnwindSafe for ParsedPackage
impl Send for ParsedPackage
impl Sync for ParsedPackage
impl Unpin for ParsedPackage
impl UnsafeUnpin for ParsedPackage
impl UnwindSafe for ParsedPackage
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