Struct ic_utils::interfaces::management_canister::builders::CanisterInstall
source · pub struct CanisterInstall {
pub mode: InstallMode,
pub canister_id: Principal,
pub wasm_module: Vec<u8>,
pub arg: Vec<u8>,
}
Expand description
A prepared call to install_code
.
Fields§
§mode: InstallMode
The installation mode to install the module with.
canister_id: Principal
The ID of the canister to install the module into.
wasm_module: Vec<u8>
The WebAssembly code blob to install.
arg: Vec<u8>
The encoded argument to pass to the module’s constructor.
Trait Implementations§
source§impl CandidType for CanisterInstall
impl CandidType for CanisterInstall
source§impl Clone for CanisterInstall
impl Clone for CanisterInstall
source§fn clone(&self) -> CanisterInstall
fn clone(&self) -> CanisterInstall
Returns a copy of the value. Read more
1.0.0 · 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 CanisterInstall
impl Debug for CanisterInstall
source§impl<'de> Deserialize<'de> for CanisterInstall
impl<'de> Deserialize<'de> for CanisterInstall
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CanisterInstall
impl RefUnwindSafe for CanisterInstall
impl Send for CanisterInstall
impl Sync for CanisterInstall
impl Unpin for CanisterInstall
impl UnwindSafe for CanisterInstall
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