pub struct RecoveryReport {
pub intact_files: Vec<LockboxEntry>,
pub intact_file_count: usize,
pub partial_files: usize,
pub corrupt_records: usize,
pub toc_recovered: bool,
pub variables_recovered: bool,
pub variable_count: usize,
pub forms_recovered: bool,
pub form_definition_count: usize,
pub form_record_count: usize,
}Expand description
Summary produced by lockbox recovery and salvage scans.
Fields§
§intact_files: Vec<LockboxEntry>Intact file entries discovered by the scan.
intact_file_count: usizeTotal number of intact files, including entries omitted from
intact_files by reporting limits.
partial_files: usizeNumber of file records that were only partially recoverable.
corrupt_records: usizeNumber of corrupt records encountered.
toc_recovered: boolWhether the latest TOC could be read.
variables_recovered: boolWhether variable metadata was recovered from the latest commit root.
variable_count: usizeNumber of variable values recovered.
forms_recovered: boolWhether form metadata was recovered from the latest commit root.
form_definition_count: usizeNumber of latest form definitions recovered.
form_record_count: usizeNumber of form records recovered.
Implementations§
Source§impl RecoveryReport
impl RecoveryReport
Sourcepub fn render(&self, options: &RecoveryReportOptions) -> String
pub fn render(&self, options: &RecoveryReportOptions) -> String
Render a human-readable report.
Trait Implementations§
Source§impl Clone for RecoveryReport
impl Clone for RecoveryReport
Source§fn clone(&self) -> RecoveryReport
fn clone(&self) -> RecoveryReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecoveryReport
impl Debug for RecoveryReport
impl Eq for RecoveryReport
Source§impl PartialEq for RecoveryReport
impl PartialEq for RecoveryReport
impl StructuralPartialEq for RecoveryReport
Auto Trait Implementations§
impl Freeze for RecoveryReport
impl RefUnwindSafe for RecoveryReport
impl Send for RecoveryReport
impl Sync for RecoveryReport
impl Unpin for RecoveryReport
impl UnsafeUnpin for RecoveryReport
impl UnwindSafe for RecoveryReport
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