[][src]Struct miniscript::miniscript::types::extra_props::TimeLockInfo

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,
}

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

impl TimeLockInfo[src]

pub fn contains_unspendable_path(self) -> bool[src]

Whether the current contains any possible unspendable path

Trait Implementations

impl Clone for TimeLockInfo[src]

impl Copy for TimeLockInfo[src]

impl Debug for TimeLockInfo[src]

impl Default for TimeLockInfo[src]

impl Eq for TimeLockInfo[src]

impl Hash for TimeLockInfo[src]

impl Ord for TimeLockInfo[src]

impl PartialEq<TimeLockInfo> for TimeLockInfo[src]

impl PartialOrd<TimeLockInfo> for TimeLockInfo[src]

impl StructuralEq for TimeLockInfo[src]

impl StructuralPartialEq for TimeLockInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.