pub struct PrivacyPolicy {
pub aggregation_threshold_policy: Option<AggregationThresholdPolicy>,
pub differential_privacy_policy: Option<DifferentialPrivacyPolicy>,
pub join_restriction_policy: Option<JoinRestrictionPolicy>,
}Expand description
Represents privacy policy that contains the privacy requirements specified by the data owner. Currently, this is only supported on views.
This type is not used in any activity, and only used as part of another schema.
Fields§
§aggregation_threshold_policy: Option<AggregationThresholdPolicy>Optional. Policy used for aggregation thresholds.
differential_privacy_policy: Option<DifferentialPrivacyPolicy>Optional. Policy used for differential privacy.
join_restriction_policy: Option<JoinRestrictionPolicy>Optional. Join restriction policy is outside of the one of policies, since this policy can be set along with other policies. This policy gives data providers the ability to enforce joins on the ‘join_allowed_columns’ when data is queried from a privacy protected view.
Trait Implementations§
Source§impl Clone for PrivacyPolicy
impl Clone for PrivacyPolicy
Source§fn clone(&self) -> PrivacyPolicy
fn clone(&self) -> PrivacyPolicy
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 PrivacyPolicy
impl Debug for PrivacyPolicy
Source§impl Default for PrivacyPolicy
impl Default for PrivacyPolicy
Source§fn default() -> PrivacyPolicy
fn default() -> PrivacyPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivacyPolicy
impl<'de> Deserialize<'de> for PrivacyPolicy
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
Source§impl Serialize for PrivacyPolicy
impl Serialize for PrivacyPolicy
impl Part for PrivacyPolicy
Auto Trait Implementations§
impl Freeze for PrivacyPolicy
impl RefUnwindSafe for PrivacyPolicy
impl Send for PrivacyPolicy
impl Sync for PrivacyPolicy
impl Unpin for PrivacyPolicy
impl UnwindSafe for PrivacyPolicy
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