Enum fefix::definitions::fix50sp2::UnitOfMeasure [−][src]
pub enum UnitOfMeasure {
Show 13 variants
BillionCubicFeet,
MillionBarrels,
OneMillionBtu,
MegawattHours,
Barrels,
Bushels,
Pounds,
Gallons,
TroyOunces,
MetricTons,
Tons,
UsDollars,
Allowances,
}
fix50sp2
only.Expand description
Field type variants for UnitOfMeasure
.
Variants
Field variant ‘Bcf’.
Field variant ‘MMbbl’.
Field variant ‘MMBtu’.
Field variant ‘MWh’.
Field variant ‘Bbl’.
Field variant ‘Bu’.
Field variant ‘lbs’.
Field variant ‘Gal’.
Field variant ‘oz_tr’.
Field variant ‘t’.
Field variant ‘tn’.
Field variant ‘USD’.
Field variant ‘Alw’.
Trait Implementations
type SerializeSettings = ()
type SerializeSettings = ()
A type with values that customize the serialization algorithm, e.g. padding information. Read more
fn serialize_with<B>(
&self,
buffer: &mut B,
_settings: Self::SerializeSettings
) -> usize where
B: Buffer,
fn serialize_with<B>(
&self,
buffer: &mut B,
_settings: Self::SerializeSettings
) -> usize where
B: Buffer,
Writes self
to buffer
using custom serialization settings
.
Parses and deserializes from data
.
Writes self
to buffer
using default settings.
Like FixValue::deserialize
, but it’s allowed to skip some amount of
input checking. Invalid inputs might not trigger errors and instead be
deserialized as random values. Read more
Auto Trait Implementations
impl RefUnwindSafe for UnitOfMeasure
impl Send for UnitOfMeasure
impl Sync for UnitOfMeasure
impl Unpin for UnitOfMeasure
impl UnwindSafe for UnitOfMeasure
Blanket Implementations
Mutably borrows from an owned value. Read more