pub struct InstallChunkedCodeArgument {
pub mode: CanisterInstallMode,
pub target_canister: CanisterId,
pub store_canister: Option<CanisterId>,
pub chunk_hashes_list: Vec<ChunkHash>,
pub wasm_module_hash: Vec<u8>,
pub arg: Vec<u8>,
}👎Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.Expand description
Argument type of install_chunked_code.
Fields§
§mode: CanisterInstallMode👎Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.See CanisterInstallMode.
target_canister: CanisterId👎Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.Principal of the canister being installed
store_canister: Option<CanisterId>👎Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.The canister in whose chunk storage the chunks are stored (defaults to target_canister if not specified)
chunk_hashes_list: Vec<ChunkHash>👎Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.The list of chunks that make up the canister wasm
wasm_module_hash: Vec<u8>👎Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.The sha256 hash of the wasm
arg: Vec<u8>👎Deprecated since 0.18.0: The
api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.The argument to be passed to canister_init or canister_post_upgrade
Trait Implementations§
Source§impl Clone for InstallChunkedCodeArgument
impl Clone for InstallChunkedCodeArgument
Source§fn clone(&self) -> InstallChunkedCodeArgument
fn clone(&self) -> InstallChunkedCodeArgument
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InstallChunkedCodeArgument
impl Debug for InstallChunkedCodeArgument
Source§impl<'de> Deserialize<'de> for InstallChunkedCodeArgument
impl<'de> Deserialize<'de> for InstallChunkedCodeArgument
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
Source§impl Hash for InstallChunkedCodeArgument
impl Hash for InstallChunkedCodeArgument
Source§impl Ord for InstallChunkedCodeArgument
impl Ord for InstallChunkedCodeArgument
Source§fn cmp(&self, other: &InstallChunkedCodeArgument) -> Ordering
fn cmp(&self, other: &InstallChunkedCodeArgument) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstallChunkedCodeArgument
impl PartialEq for InstallChunkedCodeArgument
Source§fn eq(&self, other: &InstallChunkedCodeArgument) -> bool
fn eq(&self, other: &InstallChunkedCodeArgument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for InstallChunkedCodeArgument
impl PartialOrd for InstallChunkedCodeArgument
impl Eq for InstallChunkedCodeArgument
impl StructuralPartialEq for InstallChunkedCodeArgument
Auto Trait Implementations§
impl Freeze for InstallChunkedCodeArgument
impl RefUnwindSafe for InstallChunkedCodeArgument
impl Send for InstallChunkedCodeArgument
impl Sync for InstallChunkedCodeArgument
impl Unpin for InstallChunkedCodeArgument
impl UnwindSafe for InstallChunkedCodeArgument
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