Struct libstripe::Source

source ·
pub struct Source {
Show 18 fields pub id: String, pub object: Object, pub ach_credit_transfer: Option<AchCreditTransfer>, pub amount: i32, pub client_secret: String, pub code_verification: CodeVerification, pub created: i64, pub currency: Currency, pub flow: SourceFlow, pub livemode: bool, pub metadata: HashMap<String, String>, pub owner: SourceOwner, pub receiver: Option<SourceReceiver>, pub statement_descriptor: Option<String>, pub status: SourceStatus, pub redirect: Option<SourceRedirect>, pub source_type: SourceType, pub usage: SourceUsage,
}

Fields§

§id: String§object: Object§ach_credit_transfer: Option<AchCreditTransfer>§amount: i32§client_secret: String§code_verification: CodeVerification§created: i64§currency: Currency§flow: SourceFlow§livemode: bool§metadata: HashMap<String, String>§owner: SourceOwner§receiver: Option<SourceReceiver>§statement_descriptor: Option<String>§status: SourceStatus§redirect: Option<SourceRedirect>§source_type: SourceType§usage: SourceUsage

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.