pub struct ClosedBar { /* private fields */ }Expand description
One immutable nonempty bar visible at its exclusive close boundary.
Implementations§
Source§impl ClosedBar
impl ClosedBar
pub fn series_id(&self) -> &SeriesId
pub fn symbol(&self) -> &str
pub fn open_time(&self) -> NaiveDateTime
pub fn close_time(&self) -> NaiveDateTime
pub fn open(&self) -> f64
pub fn high(&self) -> f64
pub fn low(&self) -> f64
pub fn close(&self) -> f64
pub fn tick_count(&self) -> Option<u64>
Trait Implementations§
impl StructuralPartialEq for ClosedBar
Auto Trait Implementations§
impl Freeze for ClosedBar
impl RefUnwindSafe for ClosedBar
impl Send for ClosedBar
impl Sync for ClosedBar
impl Unpin for ClosedBar
impl UnsafeUnpin for ClosedBar
impl UnwindSafe for ClosedBar
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