Struct ckb_verification::Since
source · pub struct Since(pub u64);Expand description
The struct define wrapper for (unsigned 64-bit integer) tx field since
See tx-since
Tuple Fields§
§0: u64Implementations§
source§impl Since
impl Since
sourcepub fn is_absolute(self) -> bool
pub fn is_absolute(self) -> bool
Whether since represented absolute form
sourcepub fn is_relative(self) -> bool
pub fn is_relative(self) -> bool
Whether since represented relative form
sourcepub fn flags_is_valid(self) -> bool
pub fn flags_is_valid(self) -> bool
Whether since flag is valid
sourcepub fn extract_metric(self) -> Option<SinceMetric>
pub fn extract_metric(self) -> Option<SinceMetric>
Extracts a SinceMetric from an unsigned 64-bit integer since