pub struct FinalizeAmountIssuingAuthorizationFuel {
pub industry_product_code: Option<String>,
pub quantity_decimal: Option<String>,
pub type_: Option<FinalizeAmountIssuingAuthorizationFuelType>,
pub unit: Option<FinalizeAmountIssuingAuthorizationFuelUnit>,
pub unit_cost_decimal: Option<String>,
}Expand description
Information about fuel that was purchased with this transaction.
Fields§
§industry_product_code: Option<String>Conexxus Payment System Product Code identifying the primary fuel product purchased.
quantity_decimal: Option<String>The quantity of units of fuel that was dispensed, represented as a decimal string with at most 12 decimal places.
type_: Option<FinalizeAmountIssuingAuthorizationFuelType>The type of fuel that was purchased.
One of diesel, unleaded_plus, unleaded_regular, unleaded_super, or other.
unit: Option<FinalizeAmountIssuingAuthorizationFuelUnit>The units for quantity_decimal.
One of charging_minute, imperial_gallon, kilogram, kilowatt_hour, liter, pound, us_gallon, or other.
unit_cost_decimal: Option<String>The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.
Implementations§
Trait Implementations§
Source§impl Clone for FinalizeAmountIssuingAuthorizationFuel
impl Clone for FinalizeAmountIssuingAuthorizationFuel
Source§fn clone(&self) -> FinalizeAmountIssuingAuthorizationFuel
fn clone(&self) -> FinalizeAmountIssuingAuthorizationFuel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for FinalizeAmountIssuingAuthorizationFuel
impl PartialEq for FinalizeAmountIssuingAuthorizationFuel
Source§fn eq(&self, other: &FinalizeAmountIssuingAuthorizationFuel) -> bool
fn eq(&self, other: &FinalizeAmountIssuingAuthorizationFuel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FinalizeAmountIssuingAuthorizationFuel
impl StructuralPartialEq for FinalizeAmountIssuingAuthorizationFuel
Auto Trait Implementations§
impl Freeze for FinalizeAmountIssuingAuthorizationFuel
impl RefUnwindSafe for FinalizeAmountIssuingAuthorizationFuel
impl Send for FinalizeAmountIssuingAuthorizationFuel
impl Sync for FinalizeAmountIssuingAuthorizationFuel
impl Unpin for FinalizeAmountIssuingAuthorizationFuel
impl UnsafeUnpin for FinalizeAmountIssuingAuthorizationFuel
impl UnwindSafe for FinalizeAmountIssuingAuthorizationFuel
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