pub enum ObservedIn {
Block(u32),
Mempool(u64),
}
Expand description
Represents when and where a transaction was last observed in.
Variants§
Block(u32)
The transaction was last observed in a block of height.
Mempool(u64)
The transaction was last observed in the mempool at the given unix timestamp.
Trait Implementations§
Source§impl Clone for ObservedIn
impl Clone for ObservedIn
Source§fn clone(&self) -> ObservedIn
fn clone(&self) -> ObservedIn
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ObservedIn
impl Debug for ObservedIn
Source§impl Ord for ObservedIn
impl Ord for ObservedIn
Source§fn cmp(&self, other: &ObservedIn) -> Ordering
fn cmp(&self, other: &ObservedIn) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObservedIn
impl PartialEq for ObservedIn
Source§impl PartialOrd for ObservedIn
impl PartialOrd for ObservedIn
impl Copy for ObservedIn
impl Eq for ObservedIn
impl StructuralPartialEq for ObservedIn
Auto Trait Implementations§
impl Freeze for ObservedIn
impl RefUnwindSafe for ObservedIn
impl Send for ObservedIn
impl Sync for ObservedIn
impl Unpin for ObservedIn
impl UnwindSafe for ObservedIn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more