pub enum NativeScript {
ScriptPubkey(Ed25519KeyHash),
ScriptAll(NativeScripts),
ScriptAny(NativeScripts),
ScriptNOfK(u32, NativeScripts),
TimelockStart {
slot: u64,
},
TimelockExpiry {
slot: u64,
},
}
Variants§
ScriptPubkey(Ed25519KeyHash)
ScriptAll(NativeScripts)
ScriptAny(NativeScripts)
ScriptNOfK(u32, NativeScripts)
TimelockStart
TimelockExpiry
Implementations§
Source§impl NativeScript
impl NativeScript
pub fn hash(&self) -> ScriptHash
Trait Implementations§
Source§impl Clone for NativeScript
impl Clone for NativeScript
Source§fn clone(&self) -> NativeScript
fn clone(&self) -> NativeScript
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 NativeScript
impl Debug for NativeScript
Source§impl Decode for NativeScript
impl Decode for NativeScript
Source§impl PartialEq for NativeScript
impl PartialEq for NativeScript
impl Eq for NativeScript
impl StructuralPartialEq for NativeScript
Auto Trait Implementations§
impl Freeze for NativeScript
impl RefUnwindSafe for NativeScript
impl Send for NativeScript
impl Sync for NativeScript
impl Unpin for NativeScript
impl UnwindSafe for NativeScript
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