pub struct TxPoolAddMin {
pub id: Hex<32>,
pub blob_size: u64,
pub weight: u64,
pub fee: u64,
}
Expand description
ZMQ json-minimal-txpool_add
subscriber messages contain an array of
TxPoolAddMin
JSON objects. See TxPoolAdd
for information on which
transactions are published to subscribers.
Fields§
§id: Hex<32>
transaction ID
blob_size: u64
size of the full transaction blob
weight: u64
metric used to calculate transaction fee
fee: u64
mining fee included in the transaction in piconeros
Trait Implementations§
Source§impl Clone for TxPoolAddMin
impl Clone for TxPoolAddMin
Source§fn clone(&self) -> TxPoolAddMin
fn clone(&self) -> TxPoolAddMin
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 TxPoolAddMin
impl Debug for TxPoolAddMin
Source§impl Default for TxPoolAddMin
impl Default for TxPoolAddMin
Source§fn default() -> TxPoolAddMin
fn default() -> TxPoolAddMin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TxPoolAddMin
impl<'de> Deserialize<'de> for TxPoolAddMin
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 Freeze for TxPoolAddMin
impl RefUnwindSafe for TxPoolAddMin
impl Send for TxPoolAddMin
impl Sync for TxPoolAddMin
impl Unpin for TxPoolAddMin
impl UnwindSafe for TxPoolAddMin
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes