pub struct TxListParams {
pub start_block: u64,
pub end_block: u64,
pub page: u64,
pub offset: u64,
pub sort: Sort,
}Expand description
Common optional arguments for the transaction or event list API endpoints
Fields§
§start_block: u64§end_block: u64§page: u64§offset: u64§sort: SortImplementations§
Trait Implementations§
Source§impl Clone for TxListParams
impl Clone for TxListParams
Source§fn clone(&self) -> TxListParams
fn clone(&self) -> TxListParams
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 TxListParams
impl Debug for TxListParams
Source§impl Default for TxListParams
impl Default for TxListParams
Source§impl From<TxListParams> for HashMap<&'static str, String>
impl From<TxListParams> for HashMap<&'static str, String>
Source§fn from(tx_params: TxListParams) -> Self
fn from(tx_params: TxListParams) -> Self
Converts to this type from the input type.
impl Copy for TxListParams
Auto Trait Implementations§
impl Freeze for TxListParams
impl RefUnwindSafe for TxListParams
impl Send for TxListParams
impl Sync for TxListParams
impl Unpin for TxListParams
impl UnwindSafe for TxListParams
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