pub struct CheckinPersonDataCreatePrivacyPolicyAgreement {
pub date: Option<Option<NaiveDate>>,
pub type_id: Option<Option<i64>>,
pub who_id: Option<Option<i64>>,
pub extra: Map<String, Value>,
}Expand description
Legacy representation of the privacy agreement. Use the three flat privacyPolicyAgreement* fields instead. When this object is used, all three values must be provided if privacy agreement fields are mandatory.
Fields§
§date: Option<Option<NaiveDate>>None leaves the field out, Some(None) sends null.
type_id: Option<Option<i64>>How the agreement was obtained: 1 group registration, 2 self-confirmation, 3 outside ChurchTools, 4 check-in.
None leaves the field out, Some(None) sends null.
who_id: Option<Option<i64>>Who gave the agreement: 1 the person themself, 2 a parent, 10000 the person responsible for a group signup.
None leaves the field out, Some(None) sends null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckinPersonDataCreatePrivacyPolicyAgreement
impl<'de> Deserialize<'de> for CheckinPersonDataCreatePrivacyPolicyAgreement
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 CheckinPersonDataCreatePrivacyPolicyAgreement
Auto Trait Implementations§
impl Freeze for CheckinPersonDataCreatePrivacyPolicyAgreement
impl RefUnwindSafe for CheckinPersonDataCreatePrivacyPolicyAgreement
impl Send for CheckinPersonDataCreatePrivacyPolicyAgreement
impl Sync for CheckinPersonDataCreatePrivacyPolicyAgreement
impl Unpin for CheckinPersonDataCreatePrivacyPolicyAgreement
impl UnsafeUnpin for CheckinPersonDataCreatePrivacyPolicyAgreement
impl UnwindSafe for CheckinPersonDataCreatePrivacyPolicyAgreement
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