Struct ic_cdk::api::management_canister::main::CanisterChange
source · pub struct CanisterChange {
pub timestamp_nanos: u64,
pub canister_version: u64,
pub origin: CanisterChangeOrigin,
pub details: CanisterChangeDetails,
}
Expand description
Represents a canister change as stored in the canister history.
Fields§
§timestamp_nanos: u64
The system timestamp (in nanoseconds since Unix Epoch) at which the change was performed
canister_version: u64
The canister version after performing the change.
origin: CanisterChangeOrigin
The change’s origin (a user or a canister).
details: CanisterChangeDetails
The change’s details.
Trait Implementations§
source§impl CandidType for CanisterChange
impl CandidType for CanisterChange
source§impl Clone for CanisterChange
impl Clone for CanisterChange
source§fn clone(&self) -> CanisterChange
fn clone(&self) -> CanisterChange
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 CanisterChange
impl Debug for CanisterChange
source§impl<'de> Deserialize<'de> for CanisterChange
impl<'de> Deserialize<'de> for CanisterChange
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 CanisterChange
impl Hash for CanisterChange
source§impl Ord for CanisterChange
impl Ord for CanisterChange
source§fn cmp(&self, other: &CanisterChange) -> Ordering
fn cmp(&self, other: &CanisterChange) -> 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 CanisterChange
impl PartialEq for CanisterChange
source§impl PartialOrd for CanisterChange
impl PartialOrd for CanisterChange
source§impl Serialize for CanisterChange
impl Serialize for CanisterChange
impl Eq for CanisterChange
impl StructuralPartialEq for CanisterChange
Auto Trait Implementations§
impl Freeze for CanisterChange
impl RefUnwindSafe for CanisterChange
impl Send for CanisterChange
impl Sync for CanisterChange
impl Unpin for CanisterChange
impl UnwindSafe for CanisterChange
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
)