Struct sapio_base::timelocks::LockTime [−][src]
pub struct LockTime<RelOrAbs: Absolutivity, HeightOrTime: TimeType>(_, _);Expand description
LockTime represents either a nLockTime or a Sequence field. They are represented generically in the same type
Implementations
Trait Implementations
impl<'de, RelOrAbs: Absolutivity, HeightOrTime: TimeType> Deserialize<'de> for LockTime<RelOrAbs, HeightOrTime>
impl<'de, RelOrAbs: Absolutivity, HeightOrTime: TimeType> Deserialize<'de> for LockTime<RelOrAbs, HeightOrTime>
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<RelOrAbs: Absolutivity + JsonSchema, HeightOrTime: TimeType + JsonSchema> JsonSchema for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: Absolutivity + JsonSchema, HeightOrTime: TimeType + JsonSchema> JsonSchema for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: PartialOrd + Absolutivity, HeightOrTime: PartialOrd + TimeType> PartialOrd<LockTime<RelOrAbs, HeightOrTime>> for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: PartialOrd + Absolutivity, HeightOrTime: PartialOrd + TimeType> PartialOrd<LockTime<RelOrAbs, HeightOrTime>> for LockTime<RelOrAbs, HeightOrTime>
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
impl<RelOrAbs: Absolutivity, HeightOrTime: TimeType> Serialize for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: Absolutivity, HeightOrTime: TimeType> Serialize for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: Copy + Absolutivity, HeightOrTime: Copy + TimeType> Copy for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: Eq + Absolutivity, HeightOrTime: Eq + TimeType> Eq for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: Absolutivity, HeightOrTime: TimeType> StructuralEq for LockTime<RelOrAbs, HeightOrTime>
impl<RelOrAbs: Absolutivity, HeightOrTime: TimeType> StructuralPartialEq for LockTime<RelOrAbs, HeightOrTime>
Auto Trait Implementations
impl<RelOrAbs, HeightOrTime> RefUnwindSafe for LockTime<RelOrAbs, HeightOrTime> where
HeightOrTime: RefUnwindSafe,
RelOrAbs: RefUnwindSafe,
impl<RelOrAbs, HeightOrTime> Send for LockTime<RelOrAbs, HeightOrTime> where
HeightOrTime: Send,
RelOrAbs: Send,
impl<RelOrAbs, HeightOrTime> Sync for LockTime<RelOrAbs, HeightOrTime> where
HeightOrTime: Sync,
RelOrAbs: Sync,
impl<RelOrAbs, HeightOrTime> Unpin for LockTime<RelOrAbs, HeightOrTime> where
HeightOrTime: Unpin,
RelOrAbs: Unpin,
impl<RelOrAbs, HeightOrTime> UnwindSafe for LockTime<RelOrAbs, HeightOrTime> where
HeightOrTime: UnwindSafe,
RelOrAbs: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more