Struct grin_wallet_libwallet::api_impl::types::RetrieveTxQueryArgs
source · pub struct RetrieveTxQueryArgs {Show 18 fields
pub min_id: Option<u32>,
pub max_id: Option<u32>,
pub limit: Option<u32>,
pub exclude_cancelled: Option<bool>,
pub include_outstanding_only: Option<bool>,
pub include_confirmed_only: Option<bool>,
pub include_sent_only: Option<bool>,
pub include_received_only: Option<bool>,
pub include_coinbase_only: Option<bool>,
pub include_reverted_only: Option<bool>,
pub min_amount: Option<u64>,
pub max_amount: Option<u64>,
pub min_creation_timestamp: Option<DateTime<Utc>>,
pub max_creation_timestamp: Option<DateTime<Utc>>,
pub min_confirmed_timestamp: Option<DateTime<Utc>>,
pub max_confirmed_timestamp: Option<DateTime<Utc>>,
pub sort_field: Option<RetrieveTxQuerySortField>,
pub sort_order: Option<RetrieveTxQuerySortOrder>,
}
Expand description
Retrieve Transaction List Pagination Arguments
Fields§
§min_id: Option<u32>
Retrieve transactions with an id higher than or equal to the given If None, consider items from the first transaction and later
max_id: Option<u32>
Retrieve tranactions with an id less than or equal to the given If None, consider items from the last transaction and earlier
limit: Option<u32>
The maximum number of transactions to return
if both before_id_inc
and after_id_inc
are supplied, this will apply
to the before and earlier set
exclude_cancelled: Option<bool>
whether to exclude cancelled transactions in the returned set
include_outstanding_only: Option<bool>
whether to only consider outstanding transactions
include_confirmed_only: Option<bool>
whether to only consider confirmed-only transactions
include_sent_only: Option<bool>
whether to only consider sent transactions
include_received_only: Option<bool>
whether to only consider received transactions
include_coinbase_only: Option<bool>
whether to only consider coinbase transactions
include_reverted_only: Option<bool>
whether to only consider reverted transactions
min_amount: Option<u64>
lower bound on the total amount (amount_credited - amount_debited), inclusive
max_amount: Option<u64>
higher bound on the total amount (amount_credited - amount_debited), inclusive
min_creation_timestamp: Option<DateTime<Utc>>
lower bound on the creation timestamp, inclusive
max_creation_timestamp: Option<DateTime<Utc>>
higher bound on on the creation timestamp, inclusive
min_confirmed_timestamp: Option<DateTime<Utc>>
lower bound on the confirmation timestamp, inclusive
max_confirmed_timestamp: Option<DateTime<Utc>>
higher bound on the confirmation timestamp, inclusive
sort_field: Option<RetrieveTxQuerySortField>
Field within the tranasction list on which to sort defaults to ID if not present
sort_order: Option<RetrieveTxQuerySortOrder>
Sort order, defaults to ASC if not present (earliest is first)
Trait Implementations§
source§impl Clone for RetrieveTxQueryArgs
impl Clone for RetrieveTxQueryArgs
source§fn clone(&self) -> RetrieveTxQueryArgs
fn clone(&self) -> RetrieveTxQueryArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RetrieveTxQueryArgs
impl Default for RetrieveTxQueryArgs
source§impl<'de> Deserialize<'de> for RetrieveTxQueryArgs
impl<'de> Deserialize<'de> for RetrieveTxQueryArgs
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>,
Auto Trait Implementations§
impl Freeze for RetrieveTxQueryArgs
impl RefUnwindSafe for RetrieveTxQueryArgs
impl Send for RetrieveTxQueryArgs
impl Sync for RetrieveTxQueryArgs
impl Unpin for RetrieveTxQueryArgs
impl UnwindSafe for RetrieveTxQueryArgs
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
source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Box
behind a trait object of this trait.