Struct dbn::metadata::SymbolMapping
source · pub struct SymbolMapping {
pub raw_symbol: String,
pub intervals: Vec<MappingInterval>,
}
Expand description
A raw symbol and its symbol mappings for different time ranges within the query range.
Fields§
§raw_symbol: String
The symbol assigned by publisher.
intervals: Vec<MappingInterval>
The mappings of native
for different date ranges.
Trait Implementations§
source§impl Clone for SymbolMapping
impl Clone for SymbolMapping
source§fn clone(&self) -> SymbolMapping
fn clone(&self) -> SymbolMapping
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 SymbolMapping
impl Debug for SymbolMapping
source§impl<'de> Deserialize<'de> for SymbolMapping
impl<'de> Deserialize<'de> for SymbolMapping
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<'source> FromPyObject<'source> for SymbolMapping
impl<'source> FromPyObject<'source> for SymbolMapping
source§impl PartialEq for SymbolMapping
impl PartialEq for SymbolMapping
source§fn eq(&self, other: &SymbolMapping) -> bool
fn eq(&self, other: &SymbolMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToPyObject for SymbolMapping
Available on crate feature python
only.
impl ToPyObject for SymbolMapping
Available on crate feature
python
only.impl Eq for SymbolMapping
impl StructuralPartialEq for SymbolMapping
Auto Trait Implementations§
impl Freeze for SymbolMapping
impl RefUnwindSafe for SymbolMapping
impl Send for SymbolMapping
impl Sync for SymbolMapping
impl Unpin for SymbolMapping
impl UnwindSafe for SymbolMapping
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