Struct stripe::generated::core::reserve_transaction::ReserveTransaction
source · pub struct ReserveTransaction {
pub id: ReserveTransactionId,
pub amount: i64,
pub currency: Currency,
pub description: Option<String>,
}
Expand description
The resource representing a Stripe “ReserveTransaction”.
Fields§
§id: ReserveTransactionId
Unique identifier for the object.
amount: i64
§currency: Currency
Three-letter ISO currency code, in lowercase.
Must be a supported currency.
description: Option<String>
An arbitrary string attached to the object.
Often useful for displaying to users.
Trait Implementations§
source§impl Clone for ReserveTransaction
impl Clone for ReserveTransaction
source§fn clone(&self) -> ReserveTransaction
fn clone(&self) -> ReserveTransaction
Returns a copy 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 ReserveTransaction
impl Debug for ReserveTransaction
source§impl Default for ReserveTransaction
impl Default for ReserveTransaction
source§fn default() -> ReserveTransaction
fn default() -> ReserveTransaction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReserveTransaction
impl<'de> Deserialize<'de> for ReserveTransaction
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Object for ReserveTransaction
impl Object for ReserveTransaction
Auto Trait Implementations§
impl Freeze for ReserveTransaction
impl RefUnwindSafe for ReserveTransaction
impl Send for ReserveTransaction
impl Sync for ReserveTransaction
impl Unpin for ReserveTransaction
impl UnwindSafe for ReserveTransaction
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)