pub struct SettingsPreviousConnectionsActionsScreenData {
pub previous_connections: Vec<PreviousConnection>,
pub unsaved_data: bool,
pub display_save_dialog: bool,
}Fields§
§previous_connections: Vec<PreviousConnection>§unsaved_data: boolthis will be set to true once the user has made any edits plan is to show a save button when true
display_save_dialog: boolif the users selects back when we have unsaved data, we should pop up a dialog to ask if they would like to save before exiting
Trait Implementations§
Source§impl Clone for SettingsPreviousConnectionsActionsScreenData
impl Clone for SettingsPreviousConnectionsActionsScreenData
Source§fn clone(&self) -> SettingsPreviousConnectionsActionsScreenData
fn clone(&self) -> SettingsPreviousConnectionsActionsScreenData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for SettingsPreviousConnectionsActionsScreenData
impl Default for SettingsPreviousConnectionsActionsScreenData
Source§fn default() -> SettingsPreviousConnectionsActionsScreenData
fn default() -> SettingsPreviousConnectionsActionsScreenData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SettingsPreviousConnectionsActionsScreenData
impl RefUnwindSafe for SettingsPreviousConnectionsActionsScreenData
impl Send for SettingsPreviousConnectionsActionsScreenData
impl Sync for SettingsPreviousConnectionsActionsScreenData
impl Unpin for SettingsPreviousConnectionsActionsScreenData
impl UnwindSafe for SettingsPreviousConnectionsActionsScreenData
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