pub struct TakeCanisterSnapshotArgs {
pub canister_id: CanisterId,
pub replace_snapshot: Option<SnapshotId>,
}
Expand description
Argument type of take_canister_snapshot.
Fields§
§canister_id: CanisterId
Principal of the canister.
replace_snapshot: Option<SnapshotId>
An optional snapshot ID to be replaced by the new snapshot.
The snapshot identified by the specified ID will be deleted once a new snapshot has been successfully created.
Trait Implementations§
Source§impl Clone for TakeCanisterSnapshotArgs
impl Clone for TakeCanisterSnapshotArgs
Source§fn clone(&self) -> TakeCanisterSnapshotArgs
fn clone(&self) -> TakeCanisterSnapshotArgs
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 TakeCanisterSnapshotArgs
impl Debug for TakeCanisterSnapshotArgs
Source§impl<'de> Deserialize<'de> for TakeCanisterSnapshotArgs
impl<'de> Deserialize<'de> for TakeCanisterSnapshotArgs
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 TakeCanisterSnapshotArgs
impl Hash for TakeCanisterSnapshotArgs
Source§impl Ord for TakeCanisterSnapshotArgs
impl Ord for TakeCanisterSnapshotArgs
Source§fn cmp(&self, other: &TakeCanisterSnapshotArgs) -> Ordering
fn cmp(&self, other: &TakeCanisterSnapshotArgs) -> 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 TakeCanisterSnapshotArgs
impl PartialEq for TakeCanisterSnapshotArgs
Source§impl PartialOrd for TakeCanisterSnapshotArgs
impl PartialOrd for TakeCanisterSnapshotArgs
Source§impl Serialize for TakeCanisterSnapshotArgs
impl Serialize for TakeCanisterSnapshotArgs
impl Eq for TakeCanisterSnapshotArgs
impl StructuralPartialEq for TakeCanisterSnapshotArgs
Auto Trait Implementations§
impl Freeze for TakeCanisterSnapshotArgs
impl RefUnwindSafe for TakeCanisterSnapshotArgs
impl Send for TakeCanisterSnapshotArgs
impl Sync for TakeCanisterSnapshotArgs
impl Unpin for TakeCanisterSnapshotArgs
impl UnwindSafe for TakeCanisterSnapshotArgs
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
)