pub enum DataHookKind {
Clone,
Migrate,
Reset,
SkewCheck,
}Expand description
The four golden-data hooks, in lifecycle vocabulary. Wire/decision names match the contract’s camelCase fields.
Variants§
Implementations§
Source§impl DataHookKind
impl DataHookKind
Trait Implementations§
Source§impl Clone for DataHookKind
impl Clone for DataHookKind
Source§fn clone(&self) -> DataHookKind
fn clone(&self) -> DataHookKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DataHookKind
Source§impl Debug for DataHookKind
impl Debug for DataHookKind
impl Eq for DataHookKind
Source§impl PartialEq for DataHookKind
impl PartialEq for DataHookKind
impl StructuralPartialEq for DataHookKind
Auto Trait Implementations§
impl Freeze for DataHookKind
impl RefUnwindSafe for DataHookKind
impl Send for DataHookKind
impl Sync for DataHookKind
impl Unpin for DataHookKind
impl UnsafeUnpin for DataHookKind
impl UnwindSafe for DataHookKind
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