pub struct LineBreakLine {
pub open: f64,
pub close: f64,
pub direction: LineDirection,
pub ts: DateTime<Utc>,
}Expand description
A single line (block) in a Line Break chart.
A continuation line opens at the previous line’s close, a reversal line at the previous line’s open; it closes at the bar’s close.
Fields§
§open: f64Open price: the previous line’s close for a continuation, its open for a reversal
close: f64Close price
direction: LineDirectionDirection of the line
ts: DateTime<Utc>Ts when line was created
Implementations§
Source§impl LineBreakLine
impl LineBreakLine
Trait Implementations§
Source§impl Clone for LineBreakLine
impl Clone for LineBreakLine
Source§fn clone(&self) -> LineBreakLine
fn clone(&self) -> LineBreakLine
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 moreAuto Trait Implementations§
impl Freeze for LineBreakLine
impl RefUnwindSafe for LineBreakLine
impl Send for LineBreakLine
impl Sync for LineBreakLine
impl Unpin for LineBreakLine
impl UnsafeUnpin for LineBreakLine
impl UnwindSafe for LineBreakLine
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more