Struct sapio_miniscript::miniscript::types::extra_props::TimeLockInfo
source · [−]pub struct TimeLockInfo {
pub csv_with_height: bool,
pub csv_with_time: bool,
pub cltv_with_height: bool,
pub cltv_with_time: bool,
pub contains_combination: bool,
}
Expand description
Helper struct Whether any satisfaction of this fragment contains any timelocks
Fields
csv_with_height: bool
csv with heights
csv_with_time: bool
csv with times
cltv_with_height: bool
cltv with heights
cltv_with_time: bool
cltv with times
contains_combination: bool
combination of any heightlocks and timelocks
Implementations
sourceimpl TimeLockInfo
impl TimeLockInfo
sourcepub fn contains_unspendable_path(self) -> bool
pub fn contains_unspendable_path(self) -> bool
Whether the current contains any possible unspendable path
Trait Implementations
sourceimpl Clone for TimeLockInfo
impl Clone for TimeLockInfo
sourcefn clone(&self) -> TimeLockInfo
fn clone(&self) -> TimeLockInfo
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
sourceimpl Debug for TimeLockInfo
impl Debug for TimeLockInfo
sourceimpl Default for TimeLockInfo
impl Default for TimeLockInfo
sourceimpl Hash for TimeLockInfo
impl Hash for TimeLockInfo
sourceimpl Ord for TimeLockInfo
impl Ord for TimeLockInfo
sourceimpl PartialEq<TimeLockInfo> for TimeLockInfo
impl PartialEq<TimeLockInfo> for TimeLockInfo
sourcefn eq(&self, other: &TimeLockInfo) -> bool
fn eq(&self, other: &TimeLockInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TimeLockInfo) -> bool
fn ne(&self, other: &TimeLockInfo) -> bool
This method tests for !=
.
sourceimpl PartialOrd<TimeLockInfo> for TimeLockInfo
impl PartialOrd<TimeLockInfo> for TimeLockInfo
sourcefn partial_cmp(&self, other: &TimeLockInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &TimeLockInfo) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for TimeLockInfo
impl Eq for TimeLockInfo
impl StructuralEq for TimeLockInfo
impl StructuralPartialEq for TimeLockInfo
Auto Trait Implementations
impl RefUnwindSafe for TimeLockInfo
impl Send for TimeLockInfo
impl Sync for TimeLockInfo
impl Unpin for TimeLockInfo
impl UnwindSafe for TimeLockInfo
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more