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
Principal 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 for UpdateSettingsArgument
impl PartialEq for UpdateSettingsArgument
source§impl PartialOrd for UpdateSettingsArgument
impl PartialOrd for UpdateSettingsArgument
source§impl Serialize for UpdateSettingsArgument
impl Serialize for UpdateSettingsArgument
impl Eq for UpdateSettingsArgument
impl StructuralPartialEq for UpdateSettingsArgument
Auto Trait Implementations§
impl Freeze for UpdateSettingsArgument
impl RefUnwindSafe for UpdateSettingsArgument
impl Send for UpdateSettingsArgument
impl Sync for UpdateSettingsArgument
impl Unpin for UpdateSettingsArgument
impl UnwindSafe for UpdateSettingsArgument
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)