pub struct PendingTransaction {
pub id: String,
pub to: String,
pub data: Vec<u8>,
pub nonce: u64,
pub gas_limit: String,
pub gas_price: String,
pub tx_hash: String,
pub first_sent_at: u64,
pub last_update_at: u64,
pub status: TxStatus,
}Fields§
§id: String§to: String§data: Vec<u8>§nonce: u64§gas_limit: String§gas_price: String§tx_hash: String§first_sent_at: u64§last_update_at: u64§status: TxStatusTrait Implementations§
Source§impl Clone for PendingTransaction
impl Clone for PendingTransaction
Source§fn clone(&self) -> PendingTransaction
fn clone(&self) -> PendingTransaction
Returns a duplicate 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 moreSource§impl Debug for PendingTransaction
impl Debug for PendingTransaction
Source§impl<'de> Deserialize<'de> for PendingTransaction
impl<'de> Deserialize<'de> for PendingTransaction
Source§fn 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
Auto Trait Implementations§
impl Freeze for PendingTransaction
impl RefUnwindSafe for PendingTransaction
impl Send for PendingTransaction
impl Sync for PendingTransaction
impl Unpin for PendingTransaction
impl UnsafeUnpin for PendingTransaction
impl UnwindSafe for PendingTransaction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more