Struct ic_cdk::api::management_canister::main::SkipPreUpgrade
source · pub struct SkipPreUpgrade(pub Option<bool>);
Expand description
If set to true, the pre_upgrade step will be skipped during the canister upgrade
Tuple Fields§
§0: Option<bool>
Trait Implementations§
source§impl CandidType for SkipPreUpgrade
impl CandidType for SkipPreUpgrade
source§impl Clone for SkipPreUpgrade
impl Clone for SkipPreUpgrade
source§fn clone(&self) -> SkipPreUpgrade
fn clone(&self) -> SkipPreUpgrade
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 SkipPreUpgrade
impl Debug for SkipPreUpgrade
source§impl Default for SkipPreUpgrade
impl Default for SkipPreUpgrade
source§fn default() -> SkipPreUpgrade
fn default() -> SkipPreUpgrade
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SkipPreUpgrade
impl<'de> Deserialize<'de> for SkipPreUpgrade
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 SkipPreUpgrade
impl Hash for SkipPreUpgrade
source§impl Ord for SkipPreUpgrade
impl Ord for SkipPreUpgrade
source§fn cmp(&self, other: &SkipPreUpgrade) -> Ordering
fn cmp(&self, other: &SkipPreUpgrade) -> 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 SkipPreUpgrade
impl PartialEq for SkipPreUpgrade
source§impl PartialOrd for SkipPreUpgrade
impl PartialOrd for SkipPreUpgrade
source§impl Serialize for SkipPreUpgrade
impl Serialize for SkipPreUpgrade
impl Copy for SkipPreUpgrade
impl Eq for SkipPreUpgrade
impl StructuralPartialEq for SkipPreUpgrade
Auto Trait Implementations§
impl Freeze for SkipPreUpgrade
impl RefUnwindSafe for SkipPreUpgrade
impl Send for SkipPreUpgrade
impl Sync for SkipPreUpgrade
impl Unpin for SkipPreUpgrade
impl UnwindSafe for SkipPreUpgrade
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
)