pub struct NewsletterOptInData {
pub newsletter: Value,
pub persons: Value,
pub extra: Map<String, Value>,
}Expand description
Stored subscription/consent state for a group. Collections use maps when populated and [] when empty; this response does not refresh live provider state.
Fields§
Mappings for currently active providers, keyed by provider:listId.
persons: ValueNewsletter-person records keyed by person ID. Includes stored records without filtering current membership/person visibility individually; entries for inactive providers may have an empty newsletter map.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for NewsletterOptInData
impl Clone for NewsletterOptInData
Source§impl Debug for NewsletterOptInData
impl Debug for NewsletterOptInData
Source§impl Default for NewsletterOptInData
impl Default for NewsletterOptInData
Source§impl<'de> Deserialize<'de> for NewsletterOptInData
impl<'de> Deserialize<'de> for NewsletterOptInData
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 NewsletterOptInData
impl PartialEq for NewsletterOptInData
Source§impl Serialize for NewsletterOptInData
impl Serialize for NewsletterOptInData
impl StructuralPartialEq for NewsletterOptInData
Auto Trait Implementations§
impl Freeze for NewsletterOptInData
impl RefUnwindSafe for NewsletterOptInData
impl Send for NewsletterOptInData
impl Sync for NewsletterOptInData
impl Unpin for NewsletterOptInData
impl UnsafeUnpin for NewsletterOptInData
impl UnwindSafe for NewsletterOptInData
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