Struct hedera::LegacyEthereumData
source · #[non_exhaustive]pub struct LegacyEthereumData {
pub nonce: Vec<u8>,
pub gas_price: Vec<u8>,
pub gas_limit: Vec<u8>,
pub to: Vec<u8>,
pub value: Vec<u8>,
pub v: Vec<u8>,
pub call_data: Vec<u8>,
pub r: Vec<u8>,
pub s: Vec<u8>,
}Expand description
Data for a legacy ethereum transaction.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.nonce: Vec<u8>Transaction’s nonce.
gas_price: Vec<u8>Price for 1 gas.
gas_limit: Vec<u8>The amount of gas available for the transaction.
to: Vec<u8>The receiver of the transaction.
value: Vec<u8>The transaction value.
v: Vec<u8>The V value of the signature.
call_data: Vec<u8>The raw call data.
r: Vec<u8>The R value of the signature.
s: Vec<u8>The S value of the signature.
Implementations§
Trait Implementations§
source§impl Clone for LegacyEthereumData
impl Clone for LegacyEthereumData
source§fn clone(&self) -> LegacyEthereumData
fn clone(&self) -> LegacyEthereumData
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 RefUnwindSafe for LegacyEthereumData
impl Send for LegacyEthereumData
impl Sync for LegacyEthereumData
impl Unpin for LegacyEthereumData
impl UnwindSafe for LegacyEthereumData
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