pub struct SessionSegment {
pub start: NaiveTime,
pub end: NaiveTime,
}Expand description
A single trading session segment within a trading day, in the exchange’s local time.
end is exclusive, matching ExchangeCalendar::is_in_session’s half-open interval.
Fields§
§start: NaiveTime§end: NaiveTimeImplementations§
Trait Implementations§
Source§impl Clone for SessionSegment
impl Clone for SessionSegment
Source§fn clone(&self) -> SessionSegment
fn clone(&self) -> SessionSegment
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 moreimpl Copy for SessionSegment
Source§impl Debug for SessionSegment
impl Debug for SessionSegment
impl Eq for SessionSegment
Source§impl PartialEq for SessionSegment
impl PartialEq for SessionSegment
impl StructuralPartialEq for SessionSegment
Auto Trait Implementations§
impl Freeze for SessionSegment
impl RefUnwindSafe for SessionSegment
impl Send for SessionSegment
impl Sync for SessionSegment
impl Unpin for SessionSegment
impl UnsafeUnpin for SessionSegment
impl UnwindSafe for SessionSegment
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