pub struct NewsletterOptInStatus {
pub doi_date: Option<DateTime<Utc>>,
pub is_synced: bool,
pub is_unsubscribed: bool,
pub sync_error: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Local synchronization and consent state, which can lag behind external changes.
Fields§
§doi_date: Option<DateTime<Utc>>Date the ChurchTools double opt-in was confirmed; null when not recorded. This does not represent every provider-managed consent.
is_synced: boolWhether the stored record has been marked successfully synchronized.
is_unsubscribed: boolWhether a local unsubscribe timestamp has been recorded.
sync_error: Option<String>Most recently recorded synchronization error, or null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for NewsletterOptInStatus
impl Clone for NewsletterOptInStatus
Source§impl Debug for NewsletterOptInStatus
impl Debug for NewsletterOptInStatus
Source§impl Default for NewsletterOptInStatus
impl Default for NewsletterOptInStatus
Source§impl<'de> Deserialize<'de> for NewsletterOptInStatus
impl<'de> Deserialize<'de> for NewsletterOptInStatus
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 NewsletterOptInStatus
impl PartialEq for NewsletterOptInStatus
Source§impl Serialize for NewsletterOptInStatus
impl Serialize for NewsletterOptInStatus
impl StructuralPartialEq for NewsletterOptInStatus
Auto Trait Implementations§
impl Freeze for NewsletterOptInStatus
impl RefUnwindSafe for NewsletterOptInStatus
impl Send for NewsletterOptInStatus
impl Sync for NewsletterOptInStatus
impl Unpin for NewsletterOptInStatus
impl UnsafeUnpin for NewsletterOptInStatus
impl UnwindSafe for NewsletterOptInStatus
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