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
)