pub struct GooglePrivacyDlpV2beta1BucketingConfig {
pub buckets: Option<Vec<GooglePrivacyDlpV2beta1Bucket>>,
}
Expand description
Generalization function that buckets values based on ranges. The ranges and
replacement values are dynamically provided by the user for custom behavior,
such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH
This can be used on
data of type: number, long, string, timestamp.
If the bound Value
type differs from the type of data being transformed, we
will first attempt converting the type of the data to be transformed to match
the type of the bound before comparing.
This type is not used in any activity, and only used as part of another schema.
Fields§
§buckets: Option<Vec<GooglePrivacyDlpV2beta1Bucket>>
no description provided
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1BucketingConfig
impl Clone for GooglePrivacyDlpV2beta1BucketingConfig
source§fn clone(&self) -> GooglePrivacyDlpV2beta1BucketingConfig
fn clone(&self) -> GooglePrivacyDlpV2beta1BucketingConfig
Returns a copy 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 Default for GooglePrivacyDlpV2beta1BucketingConfig
impl Default for GooglePrivacyDlpV2beta1BucketingConfig
source§fn default() -> GooglePrivacyDlpV2beta1BucketingConfig
fn default() -> GooglePrivacyDlpV2beta1BucketingConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1BucketingConfig
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1BucketingConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GooglePrivacyDlpV2beta1BucketingConfig
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1BucketingConfig
impl Send for GooglePrivacyDlpV2beta1BucketingConfig
impl Sync for GooglePrivacyDlpV2beta1BucketingConfig
impl Unpin for GooglePrivacyDlpV2beta1BucketingConfig
impl UnwindSafe for GooglePrivacyDlpV2beta1BucketingConfig
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