pub struct ProfilePrivacyPolicyV1 {
pub format_version: u16,
pub rules: Vec<ProfilePrivacyRuleV1>,
}Fields§
§format_version: u16§rules: Vec<ProfilePrivacyRuleV1>Implementations§
Source§impl ProfilePrivacyPolicyV1
impl ProfilePrivacyPolicyV1
pub fn validate(&self) -> Result<(), ProfileRecordError>
pub fn semantic_digest_v1(&self) -> [u8; 32]
Trait Implementations§
Source§impl Clone for ProfilePrivacyPolicyV1
impl Clone for ProfilePrivacyPolicyV1
Source§impl Debug for ProfilePrivacyPolicyV1
impl Debug for ProfilePrivacyPolicyV1
Source§impl<'de> Deserialize<'de> for ProfilePrivacyPolicyV1
impl<'de> Deserialize<'de> for ProfilePrivacyPolicyV1
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 Eq for ProfilePrivacyPolicyV1
Source§impl PartialEq for ProfilePrivacyPolicyV1
impl PartialEq for ProfilePrivacyPolicyV1
Source§impl Serialize for ProfilePrivacyPolicyV1
impl Serialize for ProfilePrivacyPolicyV1
impl StructuralPartialEq for ProfilePrivacyPolicyV1
Auto Trait Implementations§
impl Freeze for ProfilePrivacyPolicyV1
impl RefUnwindSafe for ProfilePrivacyPolicyV1
impl Send for ProfilePrivacyPolicyV1
impl Sync for ProfilePrivacyPolicyV1
impl Unpin for ProfilePrivacyPolicyV1
impl UnsafeUnpin for ProfilePrivacyPolicyV1
impl UnwindSafe for ProfilePrivacyPolicyV1
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