pub struct LoadSnapshotRecord {
pub canister_version: u64,
pub snapshot_id: SnapshotId,
pub taken_at_timestamp: u64,
}
Expand description
Details about loading canister snapshot.
Fields§
§canister_version: u64
The version of the canister at the time that the snapshot was taken
snapshot_id: SnapshotId
The ID of the snapshot that was loaded.
taken_at_timestamp: u64
The timestamp at which the snapshot was taken.
Trait Implementations§
Source§impl CandidType for LoadSnapshotRecord
impl CandidType for LoadSnapshotRecord
Source§impl Clone for LoadSnapshotRecord
impl Clone for LoadSnapshotRecord
Source§fn clone(&self) -> LoadSnapshotRecord
fn clone(&self) -> LoadSnapshotRecord
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 LoadSnapshotRecord
impl Debug for LoadSnapshotRecord
Source§impl<'de> Deserialize<'de> for LoadSnapshotRecord
impl<'de> Deserialize<'de> for LoadSnapshotRecord
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 LoadSnapshotRecord
impl Hash for LoadSnapshotRecord
Source§impl Ord for LoadSnapshotRecord
impl Ord for LoadSnapshotRecord
Source§fn cmp(&self, other: &LoadSnapshotRecord) -> Ordering
fn cmp(&self, other: &LoadSnapshotRecord) -> 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 LoadSnapshotRecord
impl PartialEq for LoadSnapshotRecord
Source§impl PartialOrd for LoadSnapshotRecord
impl PartialOrd for LoadSnapshotRecord
Source§impl Serialize for LoadSnapshotRecord
impl Serialize for LoadSnapshotRecord
impl Eq for LoadSnapshotRecord
impl StructuralPartialEq for LoadSnapshotRecord
Auto Trait Implementations§
impl Freeze for LoadSnapshotRecord
impl RefUnwindSafe for LoadSnapshotRecord
impl Send for LoadSnapshotRecord
impl Sync for LoadSnapshotRecord
impl Unpin for LoadSnapshotRecord
impl UnwindSafe for LoadSnapshotRecord
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
)