pub enum HookPrivacyPolicy {
EnvelopeAndRedactedSummary,
ContentRefsOnly,
ContentCaptureAllowed,
}Expand description
Enumerates the finite hook privacy policy cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
EnvelopeAndRedactedSummary
Use this variant when the contract needs to represent envelope and redacted summary; selecting it has no side effect by itself.
ContentRefsOnly
Use this variant when the contract needs to represent content refs only; selecting it has no side effect by itself.
ContentCaptureAllowed
Use this variant when the contract needs to represent content capture allowed; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for HookPrivacyPolicy
impl Clone for HookPrivacyPolicy
Source§fn clone(&self) -> HookPrivacyPolicy
fn clone(&self) -> HookPrivacyPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HookPrivacyPolicy
impl Debug for HookPrivacyPolicy
Source§impl<'de> Deserialize<'de> for HookPrivacyPolicy
impl<'de> Deserialize<'de> for HookPrivacyPolicy
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 PartialEq for HookPrivacyPolicy
impl PartialEq for HookPrivacyPolicy
Source§fn eq(&self, other: &HookPrivacyPolicy) -> bool
fn eq(&self, other: &HookPrivacyPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HookPrivacyPolicy
impl Serialize for HookPrivacyPolicy
impl Eq for HookPrivacyPolicy
impl StructuralPartialEq for HookPrivacyPolicy
Auto Trait Implementations§
impl Freeze for HookPrivacyPolicy
impl RefUnwindSafe for HookPrivacyPolicy
impl Send for HookPrivacyPolicy
impl Sync for HookPrivacyPolicy
impl Unpin for HookPrivacyPolicy
impl UnsafeUnpin for HookPrivacyPolicy
impl UnwindSafe for HookPrivacyPolicy
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