#[non_exhaustive]pub struct ScanStatistics {
pub scanned_file_count: i32,
pub data_processed_bytes: i64,
pub files_excluded: i32,
pub tables_created: i32,
pub tables_deleted: i32,
pub tables_updated: i32,
pub filesets_created: i32,
pub filesets_deleted: i32,
pub filesets_updated: i32,
/* private fields */
}Expand description
Describes result statistics of a data scan discovery job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scanned_file_count: i32The number of files scanned.
data_processed_bytes: i64The data processed in bytes.
files_excluded: i32The number of files excluded.
tables_created: i32The number of tables created.
tables_deleted: i32The number of tables deleted.
tables_updated: i32The number of tables updated.
filesets_created: i32The number of filesets created.
filesets_deleted: i32The number of filesets deleted.
filesets_updated: i32The number of filesets updated.
Implementations§
Source§impl ScanStatistics
impl ScanStatistics
pub fn new() -> Self
Sourcepub fn set_scanned_file_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_scanned_file_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of scanned_file_count.
Sourcepub fn set_data_processed_bytes<T: Into<i64>>(self, v: T) -> Self
pub fn set_data_processed_bytes<T: Into<i64>>(self, v: T) -> Self
Sets the value of data_processed_bytes.
Sourcepub fn set_files_excluded<T: Into<i32>>(self, v: T) -> Self
pub fn set_files_excluded<T: Into<i32>>(self, v: T) -> Self
Sets the value of files_excluded.
Sourcepub fn set_tables_created<T: Into<i32>>(self, v: T) -> Self
pub fn set_tables_created<T: Into<i32>>(self, v: T) -> Self
Sets the value of tables_created.
Sourcepub fn set_tables_deleted<T: Into<i32>>(self, v: T) -> Self
pub fn set_tables_deleted<T: Into<i32>>(self, v: T) -> Self
Sets the value of tables_deleted.
Sourcepub fn set_tables_updated<T: Into<i32>>(self, v: T) -> Self
pub fn set_tables_updated<T: Into<i32>>(self, v: T) -> Self
Sets the value of tables_updated.
Sourcepub fn set_filesets_created<T: Into<i32>>(self, v: T) -> Self
pub fn set_filesets_created<T: Into<i32>>(self, v: T) -> Self
Sets the value of filesets_created.
Sourcepub fn set_filesets_deleted<T: Into<i32>>(self, v: T) -> Self
pub fn set_filesets_deleted<T: Into<i32>>(self, v: T) -> Self
Sets the value of filesets_deleted.
Sourcepub fn set_filesets_updated<T: Into<i32>>(self, v: T) -> Self
pub fn set_filesets_updated<T: Into<i32>>(self, v: T) -> Self
Sets the value of filesets_updated.
Trait Implementations§
Source§impl Clone for ScanStatistics
impl Clone for ScanStatistics
Source§fn clone(&self) -> ScanStatistics
fn clone(&self) -> ScanStatistics
Returns a duplicate 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 Debug for ScanStatistics
impl Debug for ScanStatistics
Source§impl Default for ScanStatistics
impl Default for ScanStatistics
Source§fn default() -> ScanStatistics
fn default() -> ScanStatistics
Returns the “default value” for a type. Read more
Source§impl Message for ScanStatistics
impl Message for ScanStatistics
Source§impl PartialEq for ScanStatistics
impl PartialEq for ScanStatistics
impl StructuralPartialEq for ScanStatistics
Auto Trait Implementations§
impl Freeze for ScanStatistics
impl RefUnwindSafe for ScanStatistics
impl Send for ScanStatistics
impl Sync for ScanStatistics
impl Unpin for ScanStatistics
impl UnwindSafe for ScanStatistics
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