Struct databento::historical::metadata::UnitPricesForMode
source · pub struct UnitPricesForMode {
pub mode: FeedMode,
pub unit_prices: HashMap<Schema, f64>,
}
Available on crate feature
historical
only.Expand description
The unit prices for a particular FeedMode
.
Fields§
§mode: FeedMode
The data feed mode.
unit_prices: HashMap<Schema, f64>
The unit prices in US dollars by data record schema.
Trait Implementations§
source§impl Clone for UnitPricesForMode
impl Clone for UnitPricesForMode
source§fn clone(&self) -> UnitPricesForMode
fn clone(&self) -> UnitPricesForMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnitPricesForMode
impl Debug for UnitPricesForMode
source§impl<'de> Deserialize<'de> for UnitPricesForMode
impl<'de> Deserialize<'de> for UnitPricesForMode
source§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
source§impl PartialEq for UnitPricesForMode
impl PartialEq for UnitPricesForMode
source§fn eq(&self, other: &UnitPricesForMode) -> bool
fn eq(&self, other: &UnitPricesForMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnitPricesForMode
Auto Trait Implementations§
impl Freeze for UnitPricesForMode
impl RefUnwindSafe for UnitPricesForMode
impl Send for UnitPricesForMode
impl Sync for UnitPricesForMode
impl Unpin for UnitPricesForMode
impl UnwindSafe for UnitPricesForMode
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