Struct avalanche_types::jsonrpc::evm::GasPriceResponse
source · Expand description
Response for “eth_gasPrice”. ref. https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gasprice
Fields
jsonrpc: String
id: u32
result: U256
Trait Implementations
sourceimpl Clone for GasPriceResponse
impl Clone for GasPriceResponse
sourcefn clone(&self) -> GasPriceResponse
fn clone(&self) -> GasPriceResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GasPriceResponse
impl Debug for GasPriceResponse
sourceimpl<'de> Deserialize<'de> for GasPriceResponse
impl<'de> Deserialize<'de> for GasPriceResponse
sourcefn 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
sourceimpl PartialEq<GasPriceResponse> for GasPriceResponse
impl PartialEq<GasPriceResponse> for GasPriceResponse
sourcefn eq(&self, other: &GasPriceResponse) -> bool
fn eq(&self, other: &GasPriceResponse) -> bool
sourceimpl Serialize for GasPriceResponse
impl Serialize for GasPriceResponse
impl Eq for GasPriceResponse
impl StructuralEq for GasPriceResponse
impl StructuralPartialEq for GasPriceResponse
Auto Trait Implementations
impl RefUnwindSafe for GasPriceResponse
impl Send for GasPriceResponse
impl Sync for GasPriceResponse
impl Unpin for GasPriceResponse
impl UnwindSafe for GasPriceResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.