pub struct PackOptions {
pub manifest: PackageManifest,
pub binary_bytes: Vec<u8>,
pub resources: Vec<(String, Vec<u8>)>,
pub proto_files: Vec<(String, Vec<u8>)>,
pub signing_key: SigningKey,
pub lock_file: Option<Vec<u8>>,
}Expand description
Options for creating an .actr package.
Fields§
§manifest: PackageManifestManifest template (binary.hash/size will be computed and filled)
binary_bytes: Vec<u8>Binary bytes (the actor wasm/native binary)
resources: Vec<(String, Vec<u8>)>Resources: (path, bytes) pairs
proto_files: Vec<(String, Vec<u8>)>Proto files: (filename, content) pairs.
Written to proto/ directory inside the ZIP.
signing_key: SigningKeyEd25519 signing key
lock_file: Option<Vec<u8>>Optional manifest.lock.toml content — packed as manifest.lock.toml in the ZIP
Auto Trait Implementations§
impl Freeze for PackOptions
impl RefUnwindSafe for PackOptions
impl Send for PackOptions
impl Sync for PackOptions
impl Unpin for PackOptions
impl UnsafeUnpin for PackOptions
impl UnwindSafe for PackOptions
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