pub struct NativeScriptWitnessInfo(_);
Implementations
sourceimpl NativeScriptWitnessInfo
impl NativeScriptWitnessInfo
sourcepub fn num_signatures(num: usize) -> NativeScriptWitnessInfo
pub fn num_signatures(num: usize) -> NativeScriptWitnessInfo
Unsure which keys will sign, but you know the exact number to save on tx fee
sourcepub fn vkeys(vkeys: &Ed25519KeyHashes) -> NativeScriptWitnessInfo
pub fn vkeys(vkeys: &Ed25519KeyHashes) -> NativeScriptWitnessInfo
This native script will be witnessed by exactly these keys
sourcepub fn assume_signature_count() -> NativeScriptWitnessInfo
pub fn assume_signature_count() -> NativeScriptWitnessInfo
You don’t know how many keys will sign, so the maximum possible case will be assumed
Trait Implementations
sourceimpl Clone for NativeScriptWitnessInfo
impl Clone for NativeScriptWitnessInfo
sourcefn clone(&self) -> NativeScriptWitnessInfo
fn clone(&self) -> NativeScriptWitnessInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for NativeScriptWitnessInfo
impl Send for NativeScriptWitnessInfo
impl Sync for NativeScriptWitnessInfo
impl Unpin for NativeScriptWitnessInfo
impl UnwindSafe for NativeScriptWitnessInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more