Struct ethers::types::TxpoolInspectSummary [−][src]
pub struct TxpoolInspectSummary {
pub to: Option<H160>,
pub value: U256,
pub gas: U256,
pub gas_price: U256,
}
Expand description
Transaction summary as found in the Txpool Inspection property.
Fields
to: Option<H160>
Recipient (None when contract creation)
value: U256
Transfered value
gas: U256
Gas amount
gas_price: U256
Gas Price
Trait Implementations
Implement the Deserialize
trait for TxpoolInspectSummary
struct.
pub fn deserialize<D>(
deserializer: D
) -> Result<TxpoolInspectSummary, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<TxpoolInspectSummary, <D as Deserializer<'de>>::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 !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more