Enum ic_cdk::api::management_canister::main::CanisterChangeDetails
source · pub enum CanisterChangeDetails {
Creation(CreationRecord),
CodeUninstall,
CodeDeployment(CodeDeploymentRecord),
ControllersChange(ControllersChangeRecord),
}
Expand description
Provides details on the respective canister change.
Variants§
Creation(CreationRecord)
See CreationRecord.
CodeUninstall
Uninstalling canister’s module.
CodeDeployment(CodeDeploymentRecord)
See CodeDeploymentRecord.
ControllersChange(ControllersChangeRecord)
Trait Implementations§
source§impl CandidType for CanisterChangeDetails
impl CandidType for CanisterChangeDetails
source§impl Clone for CanisterChangeDetails
impl Clone for CanisterChangeDetails
source§fn clone(&self) -> CanisterChangeDetails
fn clone(&self) -> CanisterChangeDetails
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 CanisterChangeDetails
impl Debug for CanisterChangeDetails
source§impl<'de> Deserialize<'de> for CanisterChangeDetails
impl<'de> Deserialize<'de> for CanisterChangeDetails
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 CanisterChangeDetails
impl Hash for CanisterChangeDetails
source§impl Ord for CanisterChangeDetails
impl Ord for CanisterChangeDetails
source§fn cmp(&self, other: &CanisterChangeDetails) -> Ordering
fn cmp(&self, other: &CanisterChangeDetails) -> 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 CanisterChangeDetails
impl PartialEq for CanisterChangeDetails
source§impl PartialOrd for CanisterChangeDetails
impl PartialOrd for CanisterChangeDetails
source§impl Serialize for CanisterChangeDetails
impl Serialize for CanisterChangeDetails
impl Eq for CanisterChangeDetails
impl StructuralPartialEq for CanisterChangeDetails
Auto Trait Implementations§
impl Freeze for CanisterChangeDetails
impl RefUnwindSafe for CanisterChangeDetails
impl Send for CanisterChangeDetails
impl Sync for CanisterChangeDetails
impl Unpin for CanisterChangeDetails
impl UnwindSafe for CanisterChangeDetails
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
)