pub struct EventVisibility {
pub show_dividends: bool,
pub show_splits: bool,
pub show_earnings: bool,
pub show_earnings_breaks: bool,
pub show_economic_events: bool,
pub show_news: bool,
pub show_news_notifications: bool,
pub show_ideas: bool,
}Expand description
Visibility of each time-axis event category.
Fields§
§show_dividends: boolShow dividend events.
show_splits: boolShow stock splits.
show_earnings: boolShow earnings announcements.
show_earnings_breaks: boolDraw a dashed vertical break at each earnings announcement.
show_economic_events: boolShow economic releases.
show_news: boolShow news headlines.
show_news_notifications: boolAsk the host to raise a notification for each news headline it supplies. The host owns delivery; the chart does not read this.
show_ideas: boolShow trading ideas the host supplies.
Implementations§
Trait Implementations§
Source§impl Clone for EventVisibility
impl Clone for EventVisibility
Source§fn clone(&self) -> EventVisibility
fn clone(&self) -> EventVisibility
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 EventVisibility
impl Debug for EventVisibility
Source§impl Default for EventVisibility
impl Default for EventVisibility
Source§impl<'de> Deserialize<'de> for EventVisibilitywhere
EventVisibility: Default,
impl<'de> Deserialize<'de> for EventVisibilitywhere
EventVisibility: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EventVisibility
Source§impl PartialEq for EventVisibility
impl PartialEq for EventVisibility
Source§impl Serialize for EventVisibility
impl Serialize for EventVisibility
impl StructuralPartialEq for EventVisibility
Auto Trait Implementations§
impl Freeze for EventVisibility
impl RefUnwindSafe for EventVisibility
impl Send for EventVisibility
impl Sync for EventVisibility
impl Unpin for EventVisibility
impl UnsafeUnpin for EventVisibility
impl UnwindSafe for EventVisibility
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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