pub struct PersonPrivacyPolicy {
pub minimum_age: i64,
pub owner: PersonPrivacyPolicyOwner,
pub relationships: Vec<PersonPrivacyPolicyRelationshipsItem>,
pub show_banner: bool,
pub text: String,
pub text_relations: String,
pub type_id: i64,
pub who_id: i64,
pub extra: Map<String, Value>,
}Expand description
Privacy-consent view for the selected person and their child relationships (relationship type 1). Privacy consent is separate from the confidentiality agreement. Display flags guide the consent UI; mutations still perform their own permission checks.
Fields§
§minimum_age: i64Minimum age for independent consent and self-registration, even when registration is disabled.
owner: PersonPrivacyPolicyOwner§relationships: Vec<PersonPrivacyPolicyRelationshipsItem>Whether the configured banner should be shown for outstanding own or child consent.
text: StringConfigured own-consent confirmation text.
text_relations: StringConfigured child-consent confirmation text.
type_id: i64Suggested consent type: self-confirmation.
who_id: i64Suggested consent-giver category: the person themselves.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonPrivacyPolicy
impl Clone for PersonPrivacyPolicy
Source§impl Debug for PersonPrivacyPolicy
impl Debug for PersonPrivacyPolicy
Source§impl Default for PersonPrivacyPolicy
impl Default for PersonPrivacyPolicy
Source§impl<'de> Deserialize<'de> for PersonPrivacyPolicy
impl<'de> Deserialize<'de> for PersonPrivacyPolicy
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 PersonPrivacyPolicy
impl PartialEq for PersonPrivacyPolicy
Source§impl Serialize for PersonPrivacyPolicy
impl Serialize for PersonPrivacyPolicy
impl StructuralPartialEq for PersonPrivacyPolicy
Auto Trait Implementations§
impl Freeze for PersonPrivacyPolicy
impl RefUnwindSafe for PersonPrivacyPolicy
impl Send for PersonPrivacyPolicy
impl Sync for PersonPrivacyPolicy
impl Unpin for PersonPrivacyPolicy
impl UnsafeUnpin for PersonPrivacyPolicy
impl UnwindSafe for PersonPrivacyPolicy
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