Struct stripe::IssuingTransactionFuelData [−][src]
pub struct IssuingTransactionFuelData {
pub type_: String,
pub unit: String,
pub unit_cost_decimal: String,
pub volume_decimal: Option<Box<String>>,
}
Fields
type_: String
The type of fuel that was purchased.
One of diesel
, unleaded_plus
, unleaded_regular
, unleaded_super
, or other
.
unit: String
The units for volume_decimal
.
One of us_gallon
or liter
.
unit_cost_decimal: String
The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
volume_decimal: Option<Box<String>>
The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for IssuingTransactionFuelData
impl Send for IssuingTransactionFuelData
impl Sync for IssuingTransactionFuelData
impl Unpin for IssuingTransactionFuelData
impl UnwindSafe for IssuingTransactionFuelData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more