pub struct AppModel {Show 39 fields
pub active_tab: Tab,
pub tabs: Vec<Tab>,
pub jobs: BTreeMap<u64, JobRecord>,
pub history: Vec<JobRecord>,
pub logs: Vec<LogLine>,
pub focused_section: SectionFocus,
pub palette_open: bool,
pub palette_index: usize,
pub palette_actions: Vec<ActionId>,
pub show_build_onboarding: bool,
pub mouse_mode_enabled: bool,
pub log_text_mode: LogTextMode,
pub main_scroll: usize,
pub jobs_scroll: usize,
pub logs_scroll: usize,
pub anvil_logs_scroll: usize,
pub logs_hscroll: usize,
pub anvil_logs_hscroll: usize,
pub notification: Option<String>,
pub key_hints: BTreeMap<ActionId, String>,
pub project_root: PathBuf,
pub config_path: PathBuf,
pub project_sol_files: Vec<String>,
pub project_has_foundry_toml: bool,
pub project_has_remappings: bool,
pub project_indexed_at: DateTime<Local>,
pub active_rpc_preset: Option<String>,
pub active_rpc_chain: Option<String>,
pub active_rpc_url: Option<String>,
pub custom_templates: Vec<CustomTemplate>,
pub custom_template_index: usize,
pub custom_templates_global_path: PathBuf,
pub custom_templates_project_path: PathBuf,
pub custom_modal: Option<CustomCommandModal>,
pub anvil_instances: Vec<AnvilInstance>,
pub selected_anvil_index: usize,
pub anvil_prompt: Option<AnvilLaunchPrompt>,
pub should_quit: bool,
pub launched_at: DateTime<Local>,
}Fields§
§active_tab: Tab§tabs: Vec<Tab>§jobs: BTreeMap<u64, JobRecord>§history: Vec<JobRecord>§logs: Vec<LogLine>§focused_section: SectionFocus§palette_open: bool§palette_index: usize§palette_actions: Vec<ActionId>§show_build_onboarding: bool§mouse_mode_enabled: bool§log_text_mode: LogTextMode§main_scroll: usize§jobs_scroll: usize§logs_scroll: usize§anvil_logs_scroll: usize§logs_hscroll: usize§anvil_logs_hscroll: usize§notification: Option<String>§key_hints: BTreeMap<ActionId, String>§project_root: PathBuf§config_path: PathBuf§project_sol_files: Vec<String>§project_has_foundry_toml: bool§project_has_remappings: bool§project_indexed_at: DateTime<Local>§active_rpc_preset: Option<String>§active_rpc_chain: Option<String>§active_rpc_url: Option<String>§custom_templates: Vec<CustomTemplate>§custom_template_index: usize§custom_templates_global_path: PathBuf§custom_templates_project_path: PathBuf§custom_modal: Option<CustomCommandModal>§anvil_instances: Vec<AnvilInstance>§selected_anvil_index: usize§anvil_prompt: Option<AnvilLaunchPrompt>§should_quit: bool§launched_at: DateTime<Local>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppModel
impl RefUnwindSafe for AppModel
impl Send for AppModel
impl Sync for AppModel
impl Unpin for AppModel
impl UnsafeUnpin for AppModel
impl UnwindSafe for AppModel
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