Struct ic_kit::interfaces::management::InstallCodeArgument
source · [−]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
sourceimpl CandidType for InstallCodeArgument
impl CandidType for InstallCodeArgument
sourceimpl Clone for InstallCodeArgument
impl Clone for InstallCodeArgument
sourcefn clone(&self) -> InstallCodeArgument
fn clone(&self) -> InstallCodeArgument
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstallCodeArgument
impl Debug for InstallCodeArgument
sourceimpl<'de> Deserialize<'de> for InstallCodeArgument
impl<'de> Deserialize<'de> for InstallCodeArgument
sourcefn 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
sourceimpl PartialEq<InstallCodeArgument> for InstallCodeArgument
impl PartialEq<InstallCodeArgument> for InstallCodeArgument
sourcefn eq(&self, other: &InstallCodeArgument) -> bool
fn eq(&self, other: &InstallCodeArgument) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstallCodeArgument) -> bool
fn ne(&self, other: &InstallCodeArgument) -> bool
This method tests for !=
.
sourceimpl PartialOrd<InstallCodeArgument> for InstallCodeArgument
impl PartialOrd<InstallCodeArgument> for InstallCodeArgument
sourcefn partial_cmp(&self, other: &InstallCodeArgument) -> Option<Ordering>
fn partial_cmp(&self, other: &InstallCodeArgument) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl StructuralPartialEq for InstallCodeArgument
Auto Trait Implementations
impl RefUnwindSafe for InstallCodeArgument
impl Send for InstallCodeArgument
impl Sync for InstallCodeArgument
impl Unpin for InstallCodeArgument
impl UnwindSafe for InstallCodeArgument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more