pub struct AppStateDto {Show 14 fields
version: &'static str,
channel: &'static str,
platform: &'static str,
widgets_path: String,
logs_path: String,
accounts: Vec<AccountView>,
installed_widgets: Vec<WidgetSummary>,
widget_errors: Vec<String>,
catalogue: Vec<CatalogueSummary>,
catalogue_error: Option<String>,
settings: SettingsDto,
recent_places: Vec<RecentPlace>,
safe_mode: bool,
popouts: Vec<String>,
}Expand description
Everything the interface needs to render, without secrets.
Fields§
§version: &'static str§channel: &'static str§platform: &'static str§widgets_path: String§logs_path: StringFolder holding the log files, or empty when logging didn’t start.
accounts: Vec<AccountView>§installed_widgets: Vec<WidgetSummary>§widget_errors: Vec<String>§catalogue: Vec<CatalogueSummary>§catalogue_error: Option<String>§settings: SettingsDto§recent_places: Vec<RecentPlace>§safe_mode: bool§popouts: Vec<String>IDs of widgets open in their own window.
Trait Implementations§
Source§impl Debug for AppStateDto
impl Debug for AppStateDto
Auto Trait Implementations§
impl Freeze for AppStateDto
impl RefUnwindSafe for AppStateDto
impl Send for AppStateDto
impl Sync for AppStateDto
impl Unpin for AppStateDto
impl UnsafeUnpin for AppStateDto
impl UnwindSafe for AppStateDto
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