pub struct PersonPrivacyPolicyOwner {
pub accepted: bool,
pub accepted_date: Option<String>,
pub accepted_type: Value,
pub accepted_who: Option<i64>,
pub age: i64,
pub allowed_to_accept: bool,
pub edit_birthday: bool,
pub first_name: String,
pub id: i64,
pub image: String,
pub last_name: String,
pub extra: Map<String, Value>,
}Fields§
§accepted: bool§accepted_date: Option<String>Stored consent timestamp, or null. Not normalized to a UTC timestamp by this transformer.
accepted_type: ValueStored label of the consent type, not its ID or a translated label; null without a type. A legacy zero ID can remain 0.
accepted_who: Option<i64>Consent-giver category ID, or null.
age: i64Age in years, or 0 when the birthday is unknown.
allowed_to_accept: boolUI flag based on enabled consent banner and the configured minimumAge; not a complete authorization decision.
edit_birthday: boolTrue when no birthday is stored, independently of consent status.
first_name: String§id: i64§image: StringImage URL of the person.
last_name: String§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PersonPrivacyPolicyOwner
impl Clone for PersonPrivacyPolicyOwner
Source§impl Debug for PersonPrivacyPolicyOwner
impl Debug for PersonPrivacyPolicyOwner
Source§impl Default for PersonPrivacyPolicyOwner
impl Default for PersonPrivacyPolicyOwner
Source§impl<'de> Deserialize<'de> for PersonPrivacyPolicyOwner
impl<'de> Deserialize<'de> for PersonPrivacyPolicyOwner
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 PersonPrivacyPolicyOwner
impl PartialEq for PersonPrivacyPolicyOwner
Source§impl Serialize for PersonPrivacyPolicyOwner
impl Serialize for PersonPrivacyPolicyOwner
impl StructuralPartialEq for PersonPrivacyPolicyOwner
Auto Trait Implementations§
impl Freeze for PersonPrivacyPolicyOwner
impl RefUnwindSafe for PersonPrivacyPolicyOwner
impl Send for PersonPrivacyPolicyOwner
impl Sync for PersonPrivacyPolicyOwner
impl Unpin for PersonPrivacyPolicyOwner
impl UnsafeUnpin for PersonPrivacyPolicyOwner
impl UnwindSafe for PersonPrivacyPolicyOwner
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