Struct mpot_http::ListSubscription
source · pub struct ListSubscription {
pub pk: i64,
pub list: i64,
pub address: String,
pub name: Option<String>,
pub account: Option<i64>,
pub enabled: bool,
pub verified: bool,
pub digest: bool,
pub hide_address: bool,
pub receive_duplicates: bool,
pub receive_own_posts: bool,
pub receive_confirmation: bool,
}
Expand description
A mailing list subscription entry.
Fields§
§pk: i64
Database primary key.
list: i64
Mailing list foreign key (See MailingList
).
address: String
Subscription’s e-mail address.
name: Option<String>
Subscription’s name, optional.
account: Option<i64>
Subscription’s account foreign key, optional.
enabled: bool
Whether this subscription is enabled.
verified: bool
Whether the e-mail address is verified.
digest: bool
Whether subscription wishes to receive list posts as a periodical digest e-mail.
hide_address: bool
Whether subscription wishes their e-mail address hidden from public view.
receive_duplicates: bool
Whether subscription wishes to receive mailing list post duplicates, i.e. posts addressed to them and the mailing list to which they are subscribed.
receive_own_posts: bool
Whether subscription wishes to receive their own mailing list posts from the mailing list, as a confirmation.
receive_confirmation: bool
Whether subscription wishes to receive a plain confirmation for their own mailing list posts.
Implementations§
source§impl ListSubscription
impl ListSubscription
sourcepub fn address(&self) -> Address
pub fn address(&self) -> Address
Subscription address as a melib::Address
Trait Implementations§
source§impl Clone for ListSubscription
impl Clone for ListSubscription
source§fn clone(&self) -> ListSubscription
fn clone(&self) -> ListSubscription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more