#[non_exhaustive]pub struct DataDiscoverySpec {
pub bigquery_publishing_config: Option<BigQueryPublishingConfig>,
pub resource_config: Option<ResourceConfig>,
/* private fields */
}Expand description
Spec for a data discovery scan.
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.bigquery_publishing_config: Option<BigQueryPublishingConfig>Optional. Configuration for metadata publishing.
resource_config: Option<ResourceConfig>The configurations of the data discovery scan resource.
Implementations§
Source§impl DataDiscoverySpec
impl DataDiscoverySpec
pub fn new() -> Self
Sourcepub fn set_bigquery_publishing_config<T>(self, v: T) -> Selfwhere
T: Into<BigQueryPublishingConfig>,
pub fn set_bigquery_publishing_config<T>(self, v: T) -> Selfwhere
T: Into<BigQueryPublishingConfig>,
Sets the value of bigquery_publishing_config.
Sourcepub fn set_or_clear_bigquery_publishing_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<BigQueryPublishingConfig>,
pub fn set_or_clear_bigquery_publishing_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<BigQueryPublishingConfig>,
Sets or clears the value of bigquery_publishing_config.
Sourcepub fn set_resource_config<T: Into<Option<ResourceConfig>>>(self, v: T) -> Self
pub fn set_resource_config<T: Into<Option<ResourceConfig>>>(self, v: T) -> Self
Sets the value of resource_config.
Note that all the setters affecting resource_config are mutually
exclusive.
Sourcepub fn storage_config(&self) -> Option<&Box<StorageConfig>>
pub fn storage_config(&self) -> Option<&Box<StorageConfig>>
The value of resource_config
if it holds a StorageConfig, None if the field is not set or
holds a different branch.
Sourcepub fn set_storage_config<T: Into<Box<StorageConfig>>>(self, v: T) -> Self
pub fn set_storage_config<T: Into<Box<StorageConfig>>>(self, v: T) -> Self
Sets the value of resource_config
to hold a StorageConfig.
Note that all the setters affecting resource_config are
mutually exclusive.
Trait Implementations§
Source§impl Clone for DataDiscoverySpec
impl Clone for DataDiscoverySpec
Source§fn clone(&self) -> DataDiscoverySpec
fn clone(&self) -> DataDiscoverySpec
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 DataDiscoverySpec
impl Debug for DataDiscoverySpec
Source§impl Default for DataDiscoverySpec
impl Default for DataDiscoverySpec
Source§fn default() -> DataDiscoverySpec
fn default() -> DataDiscoverySpec
Returns the “default value” for a type. Read more
Source§impl Message for DataDiscoverySpec
impl Message for DataDiscoverySpec
Source§impl PartialEq for DataDiscoverySpec
impl PartialEq for DataDiscoverySpec
impl StructuralPartialEq for DataDiscoverySpec
Auto Trait Implementations§
impl Freeze for DataDiscoverySpec
impl RefUnwindSafe for DataDiscoverySpec
impl Send for DataDiscoverySpec
impl Sync for DataDiscoverySpec
impl Unpin for DataDiscoverySpec
impl UnwindSafe for DataDiscoverySpec
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