Struct libstripe::Topup

source ·
pub struct Topup {
Show 16 fields pub id: String, pub object: Object, pub amount: i64, pub balance_transaction: Option<String>, pub created: i64, pub currency: Currency, pub description: String, pub exepcted_availability_date: i64, pub failure_code: Option<String>, pub failure_message: Option<String>, pub livemode: bool, pub metadata: HashMap<String, String>, pub source: Source, pub statement_descriptor: Option<String>, pub status: TopupStatus, pub transfer_group: Option<String>,
}

Fields§

§id: String§object: Object§amount: i64§balance_transaction: Option<String>§created: i64§currency: Currency§description: String§exepcted_availability_date: i64§failure_code: Option<String>§failure_message: Option<String>§livemode: bool§metadata: HashMap<String, String>§source: Source§statement_descriptor: Option<String>§status: TopupStatus§transfer_group: Option<String>

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.