Struct stripe::ListBalances
source · [−]pub struct ListBalances<'a> {
pub created: Option<RangeQuery<Timestamp>>,
pub currency: Option<Currency>,
pub ending_before: Option<&'a str>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub payout: Option<PayoutId>,
pub source: Option<SourceId>,
pub starting_after: Option<&'a str>,
pub type_: Option<&'a str>,
}
Expand description
The parameters for Balance::list
.
Fields
created: Option<RangeQuery<Timestamp>>
currency: Option<Currency>
Only return transactions in a certain currency.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
ending_before: Option<&'a str>
A cursor for use in pagination.
ending_before
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, starting with obj_bar
, your subsequent call can include ending_before=obj_bar
in order to fetch the previous page of the list.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
limit: Option<u64>
A limit on the number of objects to be returned.
Limit can range between 1 and 100, and the default is 10.
payout: Option<PayoutId>
For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID.
source: Option<SourceId>
Only returns the original transaction.
starting_after: Option<&'a str>
A cursor for use in pagination.
starting_after
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
type_: Option<&'a str>
Only returns transactions of the given type.
One of: adjustment
, advance
, advance_funding
, anticipation_repayment
, application_fee
, application_fee_refund
, charge
, connect_collection_transfer
, contribution
, issuing_authorization_hold
, issuing_authorization_release
, issuing_dispute
, issuing_transaction
, payment
, payment_failure_refund
, payment_refund
, payout
, payout_cancel
, payout_failure
, refund
, refund_failure
, reserve_transaction
, reserved_funds
, stripe_fee
, stripe_fx_fee
, tax_fee
, topup
, topup_reversal
, transfer
, transfer_cancel
, transfer_failure
, or transfer_refund
.
Implementations
sourceimpl<'a> ListBalances<'a>
impl<'a> ListBalances<'a>
Trait Implementations
sourceimpl<'a> Clone for ListBalances<'a>
impl<'a> Clone for ListBalances<'a>
sourcefn clone(&self) -> ListBalances<'a>
fn clone(&self) -> ListBalances<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for ListBalances<'a>
impl<'a> Debug for ListBalances<'a>
sourceimpl<'a> Default for ListBalances<'a>
impl<'a> Default for ListBalances<'a>
sourcefn default() -> ListBalances<'a>
fn default() -> ListBalances<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Serialize for ListBalances<'a>
impl<'a> Serialize for ListBalances<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ListBalances<'a>
impl<'a> Send for ListBalances<'a>
impl<'a> Sync for ListBalances<'a>
impl<'a> Unpin for ListBalances<'a>
impl<'a> UnwindSafe for ListBalances<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more