pub struct HistoryOptions {
pub chain: Option<Chain>,
pub limit: Option<u32>,
pub ty: Option<TxType>,
pub source: Option<TxSource>,
pub before: Option<String>,
}Expand description
Optional filters for Noesis::wallet_history.
Fields§
§chain: Option<Chain>Chain override. Defaults to Solana.
limit: Option<u32>Number of transactions to return (1..=100, default 20).
ty: Option<TxType>Filter by transaction type.
source: Option<TxSource>Filter by source protocol.
before: Option<String>Paginate: only transactions before this signature.
Trait Implementations§
Source§impl Clone for HistoryOptions
impl Clone for HistoryOptions
Source§fn clone(&self) -> HistoryOptions
fn clone(&self) -> HistoryOptions
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 HistoryOptions
impl Debug for HistoryOptions
Source§impl Default for HistoryOptions
impl Default for HistoryOptions
Source§fn default() -> HistoryOptions
fn default() -> HistoryOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HistoryOptions
impl RefUnwindSafe for HistoryOptions
impl Send for HistoryOptions
impl Sync for HistoryOptions
impl Unpin for HistoryOptions
impl UnsafeUnpin for HistoryOptions
impl UnwindSafe for HistoryOptions
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