pub struct NativeScriptSource(/* private fields */);Implementations§
source§impl NativeScriptSource
 
impl NativeScriptSource
pub fn new(script: &NativeScript) -> Self
pub fn new_ref_input( script_hash: &ScriptHash, input: &TransactionInput, required_signers: &RequiredSigners ) -> Self
Trait Implementations§
source§impl Clone for NativeScriptSource
 
impl Clone for NativeScriptSource
source§fn clone(&self) -> NativeScriptSource
 
fn clone(&self) -> NativeScriptSource
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 NativeScriptSource
 
impl Debug for NativeScriptSource
source§impl Ord for NativeScriptSource
 
impl Ord for NativeScriptSource
source§fn cmp(&self, other: &NativeScriptSource) -> Ordering
 
fn cmp(&self, other: &NativeScriptSource) -> 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 NativeScriptSource
 
impl PartialEq for NativeScriptSource
source§fn eq(&self, other: &NativeScriptSource) -> bool
 
fn eq(&self, other: &NativeScriptSource) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for NativeScriptSource
 
impl PartialOrd for NativeScriptSource
source§fn partial_cmp(&self, other: &NativeScriptSource) -> Option<Ordering>
 
fn partial_cmp(&self, other: &NativeScriptSource) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl Eq for NativeScriptSource
impl StructuralPartialEq for NativeScriptSource
Auto Trait Implementations§
impl Freeze for NativeScriptSource
impl RefUnwindSafe for NativeScriptSource
impl Send for NativeScriptSource
impl Sync for NativeScriptSource
impl Unpin for NativeScriptSource
impl UnwindSafe for NativeScriptSource
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