pub enum ContractMigrationOperationKind {
Check,
Apply,
}Expand description
The closed semantic kind of one public contract-migration operation.
Variants§
Check
Run the complete read-only preflight without draining or staging.
Apply
Run the complete offline staged migration lifecycle.
Trait Implementations§
impl Copy for ContractMigrationOperationKind
impl Eq for ContractMigrationOperationKind
Source§impl Ord for ContractMigrationOperationKind
impl Ord for ContractMigrationOperationKind
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ContractMigrationOperationKind
impl PartialOrd for ContractMigrationOperationKind
impl StructuralPartialEq for ContractMigrationOperationKind
Auto Trait Implementations§
impl Freeze for ContractMigrationOperationKind
impl RefUnwindSafe for ContractMigrationOperationKind
impl Send for ContractMigrationOperationKind
impl Sync for ContractMigrationOperationKind
impl Unpin for ContractMigrationOperationKind
impl UnsafeUnpin for ContractMigrationOperationKind
impl UnwindSafe for ContractMigrationOperationKind
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