#[non_exhaustive]pub struct DataProfileResult {
pub row_count: i64,
pub profile: Option<Profile>,
pub scanned_data: Option<ScannedData>,
pub post_scan_actions_result: Option<PostScanActionsResult>,
/* private fields */
}Expand description
DataProfileResult defines the output of DataProfileScan. Each field of the table will have field type specific profile result.
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.row_count: i64The count of rows scanned.
profile: Option<Profile>The profile information per field.
scanned_data: Option<ScannedData>The data scanned for this result.
post_scan_actions_result: Option<PostScanActionsResult>Output only. The result of post scan actions.
Implementations§
Source§impl DataProfileResult
impl DataProfileResult
pub fn new() -> Self
Sourcepub fn set_row_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_row_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of row_count.
Sourcepub fn set_profile<T>(self, v: T) -> Self
pub fn set_profile<T>(self, v: T) -> Self
Sets the value of profile.
Sourcepub fn set_or_clear_profile<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_profile<T>(self, v: Option<T>) -> Self
Sets or clears the value of profile.
Sourcepub fn set_scanned_data<T>(self, v: T) -> Selfwhere
T: Into<ScannedData>,
pub fn set_scanned_data<T>(self, v: T) -> Selfwhere
T: Into<ScannedData>,
Sets the value of scanned_data.
Sourcepub fn set_or_clear_scanned_data<T>(self, v: Option<T>) -> Selfwhere
T: Into<ScannedData>,
pub fn set_or_clear_scanned_data<T>(self, v: Option<T>) -> Selfwhere
T: Into<ScannedData>,
Sets or clears the value of scanned_data.
Sourcepub fn set_post_scan_actions_result<T>(self, v: T) -> Selfwhere
T: Into<PostScanActionsResult>,
pub fn set_post_scan_actions_result<T>(self, v: T) -> Selfwhere
T: Into<PostScanActionsResult>,
Sets the value of post_scan_actions_result.
Sourcepub fn set_or_clear_post_scan_actions_result<T>(self, v: Option<T>) -> Selfwhere
T: Into<PostScanActionsResult>,
pub fn set_or_clear_post_scan_actions_result<T>(self, v: Option<T>) -> Selfwhere
T: Into<PostScanActionsResult>,
Sets or clears the value of post_scan_actions_result.
Trait Implementations§
Source§impl Clone for DataProfileResult
impl Clone for DataProfileResult
Source§fn clone(&self) -> DataProfileResult
fn clone(&self) -> DataProfileResult
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 DataProfileResult
impl Debug for DataProfileResult
Source§impl Default for DataProfileResult
impl Default for DataProfileResult
Source§fn default() -> DataProfileResult
fn default() -> DataProfileResult
Returns the “default value” for a type. Read more
Source§impl Message for DataProfileResult
impl Message for DataProfileResult
Source§impl PartialEq for DataProfileResult
impl PartialEq for DataProfileResult
impl StructuralPartialEq for DataProfileResult
Auto Trait Implementations§
impl Freeze for DataProfileResult
impl RefUnwindSafe for DataProfileResult
impl Send for DataProfileResult
impl Sync for DataProfileResult
impl Unpin for DataProfileResult
impl UnwindSafe for DataProfileResult
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