pub struct PersonPrivacyPolicyChildUpdate {
pub accepted: bool,
pub birthday: String,
pub edit_birthday: bool,
pub id: i64,
pub extra: Map<String, Value>,
}Expand description
Child-consent selection consumed by the service. Nested fields are not validated by the controller; supply all fields with the documented types.
Fields§
§accepted: boolWhether to request consent for this child.
birthday: StringBirthday as YYYY-MM-DD when adding one, otherwise an empty string. This endpoint does not perform structured date validation.
edit_birthday: boolWhether the submitted birthday should be written.
id: i64Person ID of the child.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PersonPrivacyPolicyChildUpdate
impl<'de> Deserialize<'de> for PersonPrivacyPolicyChildUpdate
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 StructuralPartialEq for PersonPrivacyPolicyChildUpdate
Auto Trait Implementations§
impl Freeze for PersonPrivacyPolicyChildUpdate
impl RefUnwindSafe for PersonPrivacyPolicyChildUpdate
impl Send for PersonPrivacyPolicyChildUpdate
impl Sync for PersonPrivacyPolicyChildUpdate
impl Unpin for PersonPrivacyPolicyChildUpdate
impl UnsafeUnpin for PersonPrivacyPolicyChildUpdate
impl UnwindSafe for PersonPrivacyPolicyChildUpdate
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