#[non_exhaustive]pub struct InstallSpec {
pub wasm: Vec<u8>,
pub init_bytes: Vec<u8>,
pub cycles: u128,
pub install_sender: Option<Principal>,
pub label: Option<String>,
}Expand description
InstallSpec
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.wasm: Vec<u8>§init_bytes: Vec<u8>§cycles: u128§install_sender: Option<Principal>§label: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for InstallSpec
impl RefUnwindSafe for InstallSpec
impl Send for InstallSpec
impl Sync for InstallSpec
impl Unpin for InstallSpec
impl UnsafeUnpin for InstallSpec
impl UnwindSafe for InstallSpec
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