pub struct TroubleshootPageState {Show 21 fields
pub is_running: bool,
pub status: String,
pub logs: Vec<String>,
pub task_handle: Option<TaskHandle<TroubleshootData>>,
pub total_items: usize,
pub processed_items: usize,
pub snapshot_name: String,
pub snapshot_description: String,
pub snapshot_version: String,
pub snapshot_compression: u32,
pub available_profiles: Vec<LocalProfileInfo>,
pub selected_profile: Option<String>,
pub path_diagnostics_available: bool,
pub last_diagnostics: Option<PathDiagnostics>,
pub performance_entries: Vec<PerformanceEntry>,
pub profile_refresh_active: bool,
pub has_attempted_profile_refresh: bool,
pub show_create_popup: bool,
pub show_restore_popup: bool,
pub snapshot_directory: Option<PathBuf>,
pub group_versions: HashMap<String, String>,
}Fields§
§is_running: bool§status: String§logs: Vec<String>§task_handle: Option<TaskHandle<TroubleshootData>>§total_items: usize§processed_items: usize§snapshot_name: String§snapshot_description: String§snapshot_version: String§snapshot_compression: u32§available_profiles: Vec<LocalProfileInfo>§selected_profile: Option<String>§path_diagnostics_available: bool§last_diagnostics: Option<PathDiagnostics>§performance_entries: Vec<PerformanceEntry>§profile_refresh_active: bool§has_attempted_profile_refresh: bool§show_create_popup: bool§show_restore_popup: bool§snapshot_directory: Option<PathBuf>§group_versions: HashMap<String, String>Implementations§
Source§impl TroubleshootPageState
impl TroubleshootPageState
pub fn update(&mut self, storage: &GameStorage)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TroubleshootPageState
impl RefUnwindSafe for TroubleshootPageState
impl Send for TroubleshootPageState
impl !Sync for TroubleshootPageState
impl Unpin for TroubleshootPageState
impl UnsafeUnpin for TroubleshootPageState
impl UnwindSafe for TroubleshootPageState
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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