pub struct StatusLineOptions {Show 14 fields
pub show_logo: bool,
pub show_symbol: bool,
pub title_as_description: bool,
pub show_market_status: bool,
pub show_quote_boxes: bool,
pub show_indicator_titles: bool,
pub show_indicator_inputs: bool,
pub show_indicator_values: bool,
pub show_ohlc: bool,
pub show_change: bool,
pub show_change_percent: bool,
pub show_volume: bool,
pub show_last_day_change: bool,
pub indicator_background_opacity: u8,
}Expand description
Status line display options. Saved settings without a field take its default.
Fields§
§show_logo: boolWhether the legend shows the symbol’s logo before the title, or its initial on a neutral disc without one.
show_symbol: boolWhether the legend shows the instrument title.
title_as_description: boolDisplay the description instead of the ticker.
show_market_status: boolWhether the legend shows the market status after the title: the session’s state and delayed or end-of-day data.
show_quote_boxes: boolDisplay current bid and ask controls.
show_indicator_titles: boolDisplay study names.
show_indicator_inputs: boolDisplay host-supplied study inputs.
show_indicator_values: boolDisplay historical study output values.
show_ohlc: boolWhether the legend shows open, high, low and close.
show_change: boolWhether the legend shows the absolute price change.
show_change_percent: boolWhether the legend shows the percentage price change.
show_volume: boolWhether the legend shows volume.
show_last_day_change: boolWhether the legend shows the change of the last price from the previous session’s close.
indicator_background_opacity: u8Opacity of the study rows’ backdrop, from 0 to 100 percent.
Trait Implementations§
Source§impl Clone for StatusLineOptions
impl Clone for StatusLineOptions
Source§fn clone(&self) -> StatusLineOptions
fn clone(&self) -> StatusLineOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StatusLineOptions
impl Debug for StatusLineOptions
Source§impl Default for StatusLineOptions
impl Default for StatusLineOptions
Source§impl<'de> Deserialize<'de> for StatusLineOptionswhere
StatusLineOptions: Default,
impl<'de> Deserialize<'de> for StatusLineOptionswhere
StatusLineOptions: 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>,
Source§impl PartialEq for StatusLineOptions
impl PartialEq for StatusLineOptions
Source§impl Serialize for StatusLineOptions
impl Serialize for StatusLineOptions
impl StructuralPartialEq for StatusLineOptions
Auto Trait Implementations§
impl Freeze for StatusLineOptions
impl RefUnwindSafe for StatusLineOptions
impl Send for StatusLineOptions
impl Sync for StatusLineOptions
impl Unpin for StatusLineOptions
impl UnsafeUnpin for StatusLineOptions
impl UnwindSafe for StatusLineOptions
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
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>,
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> ⓘ
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> ⓘ
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