Struct GetTransactionsParamsBuilder

Source
pub struct GetTransactionsParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build().

Implementations§

Source§

impl<S: State> GetTransactionsParamsBuilder<S>

Source

pub fn build(self) -> GetTransactionsParams
where S: IsComplete,

Finish building and return the requested object

Source

pub fn before(self, value: String) -> GetTransactionsParamsBuilder<SetBefore<S>>
where S::Before: IsUnset,

Optional (Some / Option setters).

Unix timestamp in milliseconds. Returns only transactions created before the specified date. Provides an explicit end time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days.

Source

pub fn maybe_before( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetBefore<S>>
where S::Before: IsUnset,

Optional (Some / Option setters).

Unix timestamp in milliseconds. Returns only transactions created before the specified date. Provides an explicit end time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days.

Source

pub fn after(self, value: String) -> GetTransactionsParamsBuilder<SetAfter<S>>
where S::After: IsUnset,

Optional (Some / Option setters).

Unix timestamp in milliseconds. Returns only transactions created after the specified date. Provides an explicit start time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days.

Source

pub fn maybe_after( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetAfter<S>>
where S::After: IsUnset,

Optional (Some / Option setters).

Unix timestamp in milliseconds. Returns only transactions created after the specified date. Provides an explicit start time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days.

Source

pub fn status( self, value: TransactionStatus, ) -> GetTransactionsParamsBuilder<SetStatus<S>>
where S::Status: IsUnset,

Optional (Some / Option setters).

You can filter by one of the statuses.

Source

pub fn maybe_status( self, value: Option<TransactionStatus>, ) -> GetTransactionsParamsBuilder<SetStatus<S>>
where S::Status: IsUnset,

Optional (Some / Option setters).

You can filter by one of the statuses.

Source

pub fn order_by( self, value: String, ) -> GetTransactionsParamsBuilder<SetOrderBy<S>>
where S::OrderBy: IsUnset,

Optional (Some / Option setters).

The field to order the results by Note: Ordering by a field that is not createdAt may result with transactions that receive updates as you request the next or previous pages of results, resulting with missing those transactions.

Source

pub fn maybe_order_by( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetOrderBy<S>>
where S::OrderBy: IsUnset,

Optional (Some / Option setters).

The field to order the results by Note: Ordering by a field that is not createdAt may result with transactions that receive updates as you request the next or previous pages of results, resulting with missing those transactions.

Source

pub fn sort(self, value: String) -> GetTransactionsParamsBuilder<SetSort<S>>
where S::Sort: IsUnset,

Optional (Some / Option setters).

The direction to order the results by

Source

pub fn maybe_sort( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetSort<S>>
where S::Sort: IsUnset,

Optional (Some / Option setters).

The direction to order the results by

Source

pub fn limit(self, value: u32) -> GetTransactionsParamsBuilder<SetLimit<S>>
where S::Limit: IsUnset,

Optional (Some / Option setters).

Limits the number of results. If not provided, a limit of 200 will be used. The maximum allowed limit is 500

Source

pub fn maybe_limit( self, value: Option<u32>, ) -> GetTransactionsParamsBuilder<SetLimit<S>>
where S::Limit: IsUnset,

Optional (Some / Option setters).

Limits the number of results. If not provided, a limit of 200 will be used. The maximum allowed limit is 500

Source

pub fn source_type( self, value: String, ) -> GetTransactionsParamsBuilder<SetSourceType<S>>
where S::SourceType: IsUnset,

Optional (Some / Option setters).

The source type of the transaction

Source

pub fn maybe_source_type( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetSourceType<S>>
where S::SourceType: IsUnset,

Optional (Some / Option setters).

The source type of the transaction

Source

pub fn source_id( self, value: String, ) -> GetTransactionsParamsBuilder<SetSourceId<S>>
where S::SourceId: IsUnset,

Optional (Some / Option setters).

The source ID of the transaction

Source

pub fn maybe_source_id( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetSourceId<S>>
where S::SourceId: IsUnset,

Optional (Some / Option setters).

The source ID of the transaction

Source

pub fn dest_type( self, value: String, ) -> GetTransactionsParamsBuilder<SetDestType<S>>
where S::DestType: IsUnset,

Optional (Some / Option setters).

The destination type of the transaction

Source

pub fn maybe_dest_type( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetDestType<S>>
where S::DestType: IsUnset,

Optional (Some / Option setters).

The destination type of the transaction

Source

pub fn dest_id( self, value: String, ) -> GetTransactionsParamsBuilder<SetDestId<S>>
where S::DestId: IsUnset,

Optional (Some / Option setters).

The destination ID of the transaction

Source

pub fn maybe_dest_id( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetDestId<S>>
where S::DestId: IsUnset,

Optional (Some / Option setters).

The destination ID of the transaction

Source

pub fn assets(self, value: String) -> GetTransactionsParamsBuilder<SetAssets<S>>
where S::Assets: IsUnset,

Optional (Some / Option setters).

A list of assets to filter by, seperated by commas

Source

pub fn maybe_assets( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetAssets<S>>
where S::Assets: IsUnset,

Optional (Some / Option setters).

A list of assets to filter by, seperated by commas

Source

pub fn tx_hash( self, value: String, ) -> GetTransactionsParamsBuilder<SetTxHash<S>>
where S::TxHash: IsUnset,

Optional (Some / Option setters).

Returns only results with a specified txHash

Source

pub fn maybe_tx_hash( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetTxHash<S>>
where S::TxHash: IsUnset,

Optional (Some / Option setters).

Returns only results with a specified txHash

Source

pub fn source_wallet_id( self, value: String, ) -> GetTransactionsParamsBuilder<SetSourceWalletId<S>>
where S::SourceWalletId: IsUnset,

Optional (Some / Option setters).

Returns only results where the source is a specific end user wallet

Source

pub fn maybe_source_wallet_id( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetSourceWalletId<S>>
where S::SourceWalletId: IsUnset,

Optional (Some / Option setters).

Returns only results where the source is a specific end user wallet

Source

pub fn dest_wallet_id( self, value: String, ) -> GetTransactionsParamsBuilder<SetDestWalletId<S>>
where S::DestWalletId: IsUnset,

Optional (Some / Option setters).

Returns only results where the destination is a specific end user wallet

Source

pub fn maybe_dest_wallet_id( self, value: Option<String>, ) -> GetTransactionsParamsBuilder<SetDestWalletId<S>>
where S::DestWalletId: IsUnset,

Optional (Some / Option setters).

Returns only results where the destination is a specific end user wallet

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,