Struct ic_cdk::api::management_canister::main::UpdateSettingsArgument
source · pub struct UpdateSettingsArgument {
pub canister_id: CanisterId,
pub settings: CanisterSettings,
}
Expand description
Argument type of update_settings.
Fields§
§canister_id: CanisterId
Principle of the canister.
settings: CanisterSettings
See CanisterSettings.
Trait Implementations§
source§impl CandidType for UpdateSettingsArgument
impl CandidType for UpdateSettingsArgument
source§impl Clone for UpdateSettingsArgument
impl Clone for UpdateSettingsArgument
source§fn clone(&self) -> UpdateSettingsArgument
fn clone(&self) -> UpdateSettingsArgument
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 UpdateSettingsArgument
impl Debug for UpdateSettingsArgument
source§impl<'de> Deserialize<'de> for UpdateSettingsArgument
impl<'de> Deserialize<'de> for UpdateSettingsArgument
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 UpdateSettingsArgument
impl Hash for UpdateSettingsArgument
source§impl Ord for UpdateSettingsArgument
impl Ord for UpdateSettingsArgument
source§fn cmp(&self, other: &UpdateSettingsArgument) -> Ordering
fn cmp(&self, other: &UpdateSettingsArgument) -> 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<UpdateSettingsArgument> for UpdateSettingsArgument
impl PartialEq<UpdateSettingsArgument> for UpdateSettingsArgument
source§fn eq(&self, other: &UpdateSettingsArgument) -> bool
fn eq(&self, other: &UpdateSettingsArgument) -> bool
source§impl PartialOrd<UpdateSettingsArgument> for UpdateSettingsArgument
impl PartialOrd<UpdateSettingsArgument> for UpdateSettingsArgument
source§fn partial_cmp(&self, other: &UpdateSettingsArgument) -> Option<Ordering>
fn partial_cmp(&self, other: &UpdateSettingsArgument) -> Option<Ordering>
1.0.0 · source§fn 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