#[non_exhaustive]pub struct DataScanEvent {Show 15 fields
pub data_source: String,
pub job_id: String,
pub create_time: Option<Timestamp>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub type: ScanType,
pub state: State,
pub message: String,
pub spec_version: String,
pub trigger: Trigger,
pub scope: Scope,
pub post_scan_actions_result: Option<PostScanActionsResult>,
pub catalog_publishing_status: Option<DataScanCatalogPublishingStatus>,
pub result: Option<Result>,
pub applied_configs: Option<AppliedConfigs>,
/* private fields */
}Expand description
These messages contain information about the execution of a datascan. The monitored resource is ‘DataScan’
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_source: StringThe data source of the data scan
job_id: StringThe identifier of the specific data scan job this log entry is for.
create_time: Option<Timestamp>The time when the data scan job was created.
start_time: Option<Timestamp>The time when the data scan job started to run.
end_time: Option<Timestamp>The time when the data scan job finished.
type: ScanTypeThe type of the data scan.
state: StateThe status of the data scan job.
message: StringThe message describing the data scan job event.
spec_version: StringA version identifier of the spec which was used to execute this job.
trigger: TriggerThe trigger type of the data scan job.
scope: ScopeThe scope of the data scan (e.g. full, incremental).
post_scan_actions_result: Option<PostScanActionsResult>The result of post scan actions.
catalog_publishing_status: Option<DataScanCatalogPublishingStatus>The status of publishing the data scan as Dataplex Universal Catalog metadata.
result: Option<Result>The result of the data scan job.
applied_configs: Option<AppliedConfigs>The applied configs in the data scan job.
Implementations§
Source§impl DataScanEvent
impl DataScanEvent
pub fn new() -> Self
Sourcepub fn set_data_source<T: Into<String>>(self, v: T) -> Self
pub fn set_data_source<T: Into<String>>(self, v: T) -> Self
Sets the value of data_source.
Sourcepub fn set_job_id<T: Into<String>>(self, v: T) -> Self
pub fn set_job_id<T: Into<String>>(self, v: T) -> Self
Sets the value of job_id.
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
Sourcepub fn set_start_time<T>(self, v: T) -> Self
pub fn set_start_time<T>(self, v: T) -> Self
Sets the value of start_time.
Sourcepub fn set_or_clear_start_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_start_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of start_time.
Sourcepub fn set_end_time<T>(self, v: T) -> Self
pub fn set_end_time<T>(self, v: T) -> Self
Sets the value of end_time.
Sourcepub fn set_or_clear_end_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_end_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of end_time.
Sourcepub fn set_message<T: Into<String>>(self, v: T) -> Self
pub fn set_message<T: Into<String>>(self, v: T) -> Self
Sets the value of message.
Sourcepub fn set_spec_version<T: Into<String>>(self, v: T) -> Self
pub fn set_spec_version<T: Into<String>>(self, v: T) -> Self
Sets the value of spec_version.
Sourcepub fn set_trigger<T: Into<Trigger>>(self, v: T) -> Self
pub fn set_trigger<T: Into<Trigger>>(self, v: T) -> Self
Sets the value of trigger.
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.
Sourcepub fn set_catalog_publishing_status<T>(self, v: T) -> Selfwhere
T: Into<DataScanCatalogPublishingStatus>,
pub fn set_catalog_publishing_status<T>(self, v: T) -> Selfwhere
T: Into<DataScanCatalogPublishingStatus>,
Sets the value of catalog_publishing_status.
Sourcepub fn set_or_clear_catalog_publishing_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<DataScanCatalogPublishingStatus>,
pub fn set_or_clear_catalog_publishing_status<T>(self, v: Option<T>) -> Selfwhere
T: Into<DataScanCatalogPublishingStatus>,
Sets or clears the value of catalog_publishing_status.
Sourcepub fn set_result<T: Into<Option<Result>>>(self, v: T) -> Self
pub fn set_result<T: Into<Option<Result>>>(self, v: T) -> Self
Sets the value of result.
Note that all the setters affecting result are mutually
exclusive.
Sourcepub fn data_profile(&self) -> Option<&Box<DataProfileResult>>
pub fn data_profile(&self) -> Option<&Box<DataProfileResult>>
The value of result
if it holds a DataProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_data_profile<T: Into<Box<DataProfileResult>>>(self, v: T) -> Self
pub fn set_data_profile<T: Into<Box<DataProfileResult>>>(self, v: T) -> Self
Sets the value of result
to hold a DataProfile.
Note that all the setters affecting result are
mutually exclusive.
Sourcepub fn data_quality(&self) -> Option<&Box<DataQualityResult>>
pub fn data_quality(&self) -> Option<&Box<DataQualityResult>>
The value of result
if it holds a DataQuality, None if the field is not set or
holds a different branch.
Sourcepub fn set_data_quality<T: Into<Box<DataQualityResult>>>(self, v: T) -> Self
pub fn set_data_quality<T: Into<Box<DataQualityResult>>>(self, v: T) -> Self
Sets the value of result
to hold a DataQuality.
Note that all the setters affecting result are
mutually exclusive.
Sourcepub fn set_applied_configs<T: Into<Option<AppliedConfigs>>>(self, v: T) -> Self
pub fn set_applied_configs<T: Into<Option<AppliedConfigs>>>(self, v: T) -> Self
Sets the value of applied_configs.
Note that all the setters affecting applied_configs are mutually
exclusive.
Sourcepub fn data_profile_configs(&self) -> Option<&Box<DataProfileAppliedConfigs>>
pub fn data_profile_configs(&self) -> Option<&Box<DataProfileAppliedConfigs>>
The value of applied_configs
if it holds a DataProfileConfigs, None if the field is not set or
holds a different branch.
Sourcepub fn set_data_profile_configs<T: Into<Box<DataProfileAppliedConfigs>>>(
self,
v: T,
) -> Self
pub fn set_data_profile_configs<T: Into<Box<DataProfileAppliedConfigs>>>( self, v: T, ) -> Self
Sets the value of applied_configs
to hold a DataProfileConfigs.
Note that all the setters affecting applied_configs are
mutually exclusive.
Sourcepub fn data_quality_configs(&self) -> Option<&Box<DataQualityAppliedConfigs>>
pub fn data_quality_configs(&self) -> Option<&Box<DataQualityAppliedConfigs>>
The value of applied_configs
if it holds a DataQualityConfigs, None if the field is not set or
holds a different branch.
Sourcepub fn set_data_quality_configs<T: Into<Box<DataQualityAppliedConfigs>>>(
self,
v: T,
) -> Self
pub fn set_data_quality_configs<T: Into<Box<DataQualityAppliedConfigs>>>( self, v: T, ) -> Self
Sets the value of applied_configs
to hold a DataQualityConfigs.
Note that all the setters affecting applied_configs are
mutually exclusive.
Trait Implementations§
Source§impl Clone for DataScanEvent
impl Clone for DataScanEvent
Source§fn clone(&self) -> DataScanEvent
fn clone(&self) -> DataScanEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more