Struct ethers_core::types::TxpoolInspectSummary [−][src]
pub struct TxpoolInspectSummary {
pub to: Option<Address>,
pub value: U256,
pub gas: U256,
pub gas_price: U256,
}Expand description
Transaction summary as found in the Txpool Inspection property.
Fields
to: Option<Address>Recipient (None when contract creation)
value: U256Transfered value
gas: U256Gas amount
gas_price: U256Gas Price
Trait Implementations
Implement the Deserialize trait for TxpoolInspectSummary struct.
fn deserialize<D>(deserializer: D) -> Result<TxpoolInspectSummary, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TxpoolInspectSummary, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for TxpoolInspectSummary
impl Send for TxpoolInspectSummary
impl Sync for TxpoolInspectSummary
impl Unpin for TxpoolInspectSummary
impl UnwindSafe for TxpoolInspectSummary
Blanket Implementations
Mutably borrows from an owned value. Read more