pub struct AggregationThresholdPolicy {
pub privacy_unit_columns: Option<Vec<String>>,
pub threshold: Option<i64>,
}Expand description
Represents privacy policy associated with “aggregation threshold” method.
This type is not used in any activity, and only used as part of another schema.
Fields§
§privacy_unit_columns: Option<Vec<String>>Optional. The privacy unit column(s) associated with this policy. For now, only one column per data source object (table, view) is allowed as a privacy unit column. Representing as a repeated field in metadata for extensibility to multiple columns in future. Duplicates and Repeated struct fields are not allowed. For nested fields, use dot notation (“outer.inner”)
threshold: Option<i64>Optional. The threshold for the “aggregation threshold” policy.
Trait Implementations§
Source§impl Clone for AggregationThresholdPolicy
impl Clone for AggregationThresholdPolicy
Source§fn clone(&self) -> AggregationThresholdPolicy
fn clone(&self) -> AggregationThresholdPolicy
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 AggregationThresholdPolicy
impl Debug for AggregationThresholdPolicy
Source§impl Default for AggregationThresholdPolicy
impl Default for AggregationThresholdPolicy
Source§fn default() -> AggregationThresholdPolicy
fn default() -> AggregationThresholdPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AggregationThresholdPolicy
impl<'de> Deserialize<'de> for AggregationThresholdPolicy
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 AggregationThresholdPolicy
Auto Trait Implementations§
impl Freeze for AggregationThresholdPolicy
impl RefUnwindSafe for AggregationThresholdPolicy
impl Send for AggregationThresholdPolicy
impl Sync for AggregationThresholdPolicy
impl Unpin for AggregationThresholdPolicy
impl UnwindSafe for AggregationThresholdPolicy
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