Enum hedera::EthereumData
source · #[non_exhaustive]pub enum EthereumData {
Legacy(LegacyEthereumData),
Eip1559(Eip1559EthereumData),
}
Expand description
Data for an EthereumTransaction
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Legacy(LegacyEthereumData)
Data for a legacy ethereum transaction.
Eip1559(Eip1559EthereumData)
Data for an Eip 1559 ethereum transaction.
Implementations§
Trait Implementations§
source§impl Clone for EthereumData
impl Clone for EthereumData
source§fn clone(&self) -> EthereumData
fn clone(&self) -> EthereumData
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 moreAuto Trait Implementations§
impl Freeze for EthereumData
impl RefUnwindSafe for EthereumData
impl Send for EthereumData
impl Sync for EthereumData
impl Unpin for EthereumData
impl UnwindSafe for EthereumData
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request