pub struct MarksPage {
pub bar_marks: Vec<Marker>,
pub time_scale_marks: Vec<Marker>,
pub events: Vec<TimeScaleEvent>,
}Expand description
One complete answer for a visible range. Empty vectors clear the source’s marks.
Fields§
§bar_marks: Vec<Marker>Bar annotations, including their optional hover text.
time_scale_marks: Vec<Marker>Generic time-axis badges, including their optional hover text and host IDs.
events: Vec<TimeScaleEvent>Typed corporate, economic and news events, filtered by chart event visibility.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MarksPage
impl RefUnwindSafe for MarksPage
impl Send for MarksPage
impl Sync for MarksPage
impl Unpin for MarksPage
impl UnsafeUnpin for MarksPage
impl UnwindSafe for MarksPage
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