pub struct CreateIssuingAuthorizationFuel {
pub industry_product_code: Option<String>,
pub quantity_decimal: Option<String>,
pub type_: Option<CreateIssuingAuthorizationFuelType>,
pub unit: Option<CreateIssuingAuthorizationFuelUnit>,
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<CreateIssuingAuthorizationFuelType>The type of fuel that was purchased.
One of diesel, unleaded_plus, unleaded_regular, unleaded_super, or other.
unit: Option<CreateIssuingAuthorizationFuelUnit>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 CreateIssuingAuthorizationFuel
impl Clone for CreateIssuingAuthorizationFuel
Source§fn clone(&self) -> CreateIssuingAuthorizationFuel
fn clone(&self) -> CreateIssuingAuthorizationFuel
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 CreateIssuingAuthorizationFuel
impl PartialEq for CreateIssuingAuthorizationFuel
Source§fn eq(&self, other: &CreateIssuingAuthorizationFuel) -> bool
fn eq(&self, other: &CreateIssuingAuthorizationFuel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateIssuingAuthorizationFuel
impl StructuralPartialEq for CreateIssuingAuthorizationFuel
Auto Trait Implementations§
impl Freeze for CreateIssuingAuthorizationFuel
impl RefUnwindSafe for CreateIssuingAuthorizationFuel
impl Send for CreateIssuingAuthorizationFuel
impl Sync for CreateIssuingAuthorizationFuel
impl Unpin for CreateIssuingAuthorizationFuel
impl UnsafeUnpin for CreateIssuingAuthorizationFuel
impl UnwindSafe for CreateIssuingAuthorizationFuel
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