Struct dbn::metadata::MappingInterval
source · pub struct MappingInterval {
pub start_date: Date,
pub end_date: Date,
pub symbol: String,
}
Expand description
The resolved symbol for a date range.
Fields§
§start_date: Date
The UTC start date of interval (inclusive).
end_date: Date
The UTC end date of interval (exclusive).
symbol: String
The resolved symbol for this interval.
Trait Implementations§
source§impl Clone for MappingInterval
impl Clone for MappingInterval
source§fn clone(&self) -> MappingInterval
fn clone(&self) -> MappingInterval
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 MappingInterval
impl Debug for MappingInterval
source§impl<'de> Deserialize<'de> for MappingInterval
impl<'de> Deserialize<'de> for MappingInterval
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 MappingInterval
Available on crate feature python
only.
impl<'source> FromPyObject<'source> for MappingInterval
Available on crate feature
python
only.source§impl PartialEq for MappingInterval
impl PartialEq for MappingInterval
source§fn eq(&self, other: &MappingInterval) -> bool
fn eq(&self, other: &MappingInterval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToPyObject for MappingInterval
Available on crate feature python
only.
impl ToPyObject for MappingInterval
Available on crate feature
python
only.impl Eq for MappingInterval
impl StructuralPartialEq for MappingInterval
Auto Trait Implementations§
impl Freeze for MappingInterval
impl RefUnwindSafe for MappingInterval
impl Send for MappingInterval
impl Sync for MappingInterval
impl Unpin for MappingInterval
impl UnwindSafe for MappingInterval
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