Struct sapio_miniscript::miniscript::satisfy::Satisfaction
source · pub struct Satisfaction {
pub stack: Witness,
pub has_sig: bool,
}
Expand description
A (dis)satisfaction of a Miniscript fragment
Fields§
§stack: Witness
The actual witness stack
has_sig: bool
Whether or not this (dis)satisfaction has a signature somewhere in it
Trait Implementations§
source§impl Clone for Satisfaction
impl Clone for Satisfaction
source§fn clone(&self) -> Satisfaction
fn clone(&self) -> Satisfaction
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 Satisfaction
impl Debug for Satisfaction
source§impl PartialEq for Satisfaction
impl PartialEq for Satisfaction
source§fn eq(&self, other: &Satisfaction) -> bool
fn eq(&self, other: &Satisfaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Satisfaction
impl StructuralEq for Satisfaction
impl StructuralPartialEq for Satisfaction
Auto Trait Implementations§
impl RefUnwindSafe for Satisfaction
impl Send for Satisfaction
impl Sync for Satisfaction
impl Unpin for Satisfaction
impl UnwindSafe for Satisfaction
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