pub struct MonitorConfig {
pub layout: LayoutPreset,
pub refresh_seconds: u64,
pub widgets: WidgetVisibility,
pub scale: ScaleMode,
pub color_scheme: ColorScheme,
pub alerts: AlertConfig,
pub export: ExportConfig,
pub auto_pause_on_input: bool,
pub venue: Option<String>,
}Expand description
Monitor-specific configuration.
Loaded from the monitor: section of ~/.scope-bca/config.yaml.
All fields have sensible defaults so the section is entirely optional.
Fields§
§layout: LayoutPresetLayout preset to use on startup.
refresh_seconds: u64Refresh interval in seconds.
widgets: WidgetVisibilityWidget visibility toggles.
scale: ScaleModeY-axis scale mode for price charts.
color_scheme: ColorSchemeColor scheme.
alerts: AlertConfigAlert thresholds (price min/max, whale detection).
export: ExportConfigCSV export settings.
auto_pause_on_input: boolWhether to auto-pause data fetching when the user is interacting.
venue: Option<String>Exchange venue for real OHLC candle data (e.g., “binance”).
Trait Implementations§
Source§impl Clone for MonitorConfig
impl Clone for MonitorConfig
Source§impl Debug for MonitorConfig
impl Debug for MonitorConfig
Source§impl Default for MonitorConfig
impl Default for MonitorConfig
Source§impl<'de> Deserialize<'de> for MonitorConfigwhere
MonitorConfig: Default,
impl<'de> Deserialize<'de> for MonitorConfigwhere
MonitorConfig: 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
Source§impl PartialEq for MonitorConfig
impl PartialEq for MonitorConfig
Source§impl Serialize for MonitorConfig
impl Serialize for MonitorConfig
impl StructuralPartialEq for MonitorConfig
Auto Trait Implementations§
impl Forget for MonitorConfig
impl Freeze for MonitorConfig
impl RefUnwindSafe for MonitorConfig
impl Send for MonitorConfig
impl Sync for MonitorConfig
impl Unpin for MonitorConfig
impl UnsafeUnpin for MonitorConfig
impl UnwindSafe for MonitorConfig
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