Struct mpot::models::changesets::MailingListChangeset
source · pub struct MailingListChangeset {
pub pk: i64,
pub name: Option<String>,
pub id: Option<String>,
pub address: Option<String>,
pub description: Option<Option<String>>,
pub archive_url: Option<Option<String>>,
pub owner_local_part: Option<Option<String>>,
pub request_local_part: Option<Option<String>>,
pub verify: Option<bool>,
pub hidden: Option<bool>,
pub enabled: Option<bool>,
}
Expand description
Changeset struct for Mailinglist
.
Fields§
§pk: i64
Database primary key.
name: Option<String>
Optional new value.
id: Option<String>
Optional new value.
address: Option<String>
Optional new value.
description: Option<Option<String>>
Optional new value.
archive_url: Option<Option<String>>
Optional new value.
owner_local_part: Option<Option<String>>
Optional new value.
request_local_part: Option<Option<String>>
Optional new value.
verify: Option<bool>
Optional new value.
Optional new value.
enabled: Option<bool>
Optional new value.
Trait Implementations§
source§impl Clone for MailingListChangeset
impl Clone for MailingListChangeset
source§fn clone(&self) -> MailingListChangeset
fn clone(&self) -> MailingListChangeset
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MailingListChangeset
impl Debug for MailingListChangeset
source§impl Default for MailingListChangeset
impl Default for MailingListChangeset
source§fn default() -> MailingListChangeset
fn default() -> MailingListChangeset
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MailingListChangeset
impl<'de> Deserialize<'de> for MailingListChangeset
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MailingListChangeset, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<MailingListChangeset, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for MailingListChangeset
impl Display for MailingListChangeset
source§impl Serialize for MailingListChangeset
impl Serialize for MailingListChangeset
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more