pub struct FootprintStudy {
pub start: DateTime<Utc>,
pub end: Option<DateTime<Utc>>,
pub low: i64,
pub high: i64,
pub kind: FootprintStudyKind,
pub state: FootprintStudyState,
}Expand description
A level or zone beginning at one bar and optionally ending at its first revisit.
Fields§
§start: DateTime<Utc>Bar that created the level or zone.
end: Option<DateTime<Utc>>Last bar of the level or zone: the first later bar whose traded range overlaps it, or the
last of the configured number of bars when none did; None while untouched and
unexpired. Local markers use the originating bar as their end.
low: i64Inclusive lower grouped price key.
high: i64Inclusive upper grouped price key.
kind: FootprintStudyKindInterpretation of the annotation.
state: FootprintStudyStateWhether later trading ended it, and how.
Trait Implementations§
Source§impl Clone for FootprintStudy
impl Clone for FootprintStudy
Source§fn clone(&self) -> FootprintStudy
fn clone(&self) -> FootprintStudy
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 moreSource§impl Debug for FootprintStudy
impl Debug for FootprintStudy
Source§impl PartialEq for FootprintStudy
impl PartialEq for FootprintStudy
impl StructuralPartialEq for FootprintStudy
Auto Trait Implementations§
impl Freeze for FootprintStudy
impl RefUnwindSafe for FootprintStudy
impl Send for FootprintStudy
impl Sync for FootprintStudy
impl Unpin for FootprintStudy
impl UnsafeUnpin for FootprintStudy
impl UnwindSafe for FootprintStudy
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