Struct ckb_verification::Since [−][src]
pub struct Since(pub u64);
Expand description
The struct define wrapper for (unsigned 64-bit integer) tx field since
See tx-since
Implementations
impl Since[src]
impl Since[src]pub fn is_absolute(self) -> bool[src]
pub fn is_absolute(self) -> bool[src]Whether since represented absolute form
pub fn is_relative(self) -> bool[src]
pub fn is_relative(self) -> bool[src]Whether since represented relative form
pub fn flags_is_valid(self) -> bool[src]
pub fn flags_is_valid(self) -> bool[src]Whether since flag is valid
pub fn extract_metric(self) -> Option<SinceMetric>[src]
pub fn extract_metric(self) -> Option<SinceMetric>[src]Extracts a SinceMetric from an unsigned 64-bit integer since
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Since
impl Send for Since
impl Sync for Since
impl Unpin for Since
impl UnwindSafe for Since
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,