pub struct InstallCodeArgument {
pub mode: InstallMode,
pub canister_id: Principal,
pub wasm_module: Vec<u8>,
pub arg: Vec<u8>,
}
Fields§
§mode: InstallMode
§canister_id: Principal
§wasm_module: Vec<u8>
§arg: Vec<u8>
Trait Implementations§
Source§impl CandidType for InstallCodeArgument
impl CandidType for InstallCodeArgument
Source§impl Clone for InstallCodeArgument
impl Clone for InstallCodeArgument
Source§fn clone(&self) -> InstallCodeArgument
fn clone(&self) -> InstallCodeArgument
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 InstallCodeArgument
impl Debug for InstallCodeArgument
Source§impl<'de> Deserialize<'de> for InstallCodeArgument
impl<'de> Deserialize<'de> for InstallCodeArgument
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 PartialEq for InstallCodeArgument
impl PartialEq for InstallCodeArgument
Source§impl PartialOrd for InstallCodeArgument
impl PartialOrd for InstallCodeArgument
impl StructuralPartialEq for InstallCodeArgument
Auto Trait Implementations§
impl Freeze for InstallCodeArgument
impl RefUnwindSafe for InstallCodeArgument
impl Send for InstallCodeArgument
impl Sync for InstallCodeArgument
impl Unpin for InstallCodeArgument
impl UnwindSafe for InstallCodeArgument
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