pub enum LockPosition {
Before,
After,
}Expand description
Lock position for the public key in the PushDrop script.
Variants§
Before
<pubkey> OP_CHECKSIG <fields...> OP_2DROP... (TS default)
After
<fields...> OP_2DROP... <pubkey> OP_CHECKSIG
Trait Implementations§
Source§impl Clone for LockPosition
impl Clone for LockPosition
Source§fn clone(&self) -> LockPosition
fn clone(&self) -> LockPosition
Returns a duplicate 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 LockPosition
impl Debug for LockPosition
Source§impl Default for LockPosition
impl Default for LockPosition
Source§fn default() -> LockPosition
fn default() -> LockPosition
Returns the “default value” for a type. Read more
Source§impl PartialEq for LockPosition
impl PartialEq for LockPosition
impl Copy for LockPosition
impl StructuralPartialEq for LockPosition
Auto Trait Implementations§
impl Freeze for LockPosition
impl RefUnwindSafe for LockPosition
impl Send for LockPosition
impl Sync for LockPosition
impl Unpin for LockPosition
impl UnsafeUnpin for LockPosition
impl UnwindSafe for LockPosition
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