pub struct PoolEntry {
pub src: TxSource,
pub tx_at: DateTime<Utc>,
pub tx: Transaction,
}
Expand description
Represents a single entry in the pool. A single (possibly aggregated) transaction.
Fields§
§src: TxSource
Info on where this tx originated from.
tx_at: DateTime<Utc>
Timestamp of when this tx was originally added to the pool.
tx: Transaction
The transaction itself.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PoolEntry
impl<'de> Deserialize<'de> for PoolEntry
source§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
Auto Trait Implementations§
impl RefUnwindSafe for PoolEntry
impl Send for PoolEntry
impl Sync for PoolEntry
impl Unpin for PoolEntry
impl UnwindSafe for PoolEntry
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