Struct mpot_gen::utils::MailingList
source · pub struct MailingList {
pub pk: i64,
pub name: String,
pub id: String,
pub address: String,
pub description: Option<String>,
pub archive_url: Option<String>,
pub inner: DbVal<MailingList>,
}
Fields§
§pk: i64
§name: String
§id: String
§address: String
§description: Option<String>
§archive_url: Option<String>
§inner: DbVal<MailingList>
Trait Implementations§
source§impl Clone for MailingList
impl Clone for MailingList
source§fn clone(&self) -> MailingList
fn clone(&self) -> MailingList
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 MailingList
impl Debug for MailingList
source§impl<'de> Deserialize<'de> for MailingList
impl<'de> Deserialize<'de> for MailingList
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 Display for MailingList
impl Display for MailingList
source§impl From<DbVal<MailingList>> for MailingList
impl From<DbVal<MailingList>> for MailingList
source§fn from(val: DbVal<MailingList>) -> Self
fn from(val: DbVal<MailingList>) -> Self
Converts to this type from the input type.
source§impl Object for MailingList
impl Object for MailingList
source§impl PartialEq<MailingList> for MailingList
impl PartialEq<MailingList> for MailingList
source§fn eq(&self, other: &MailingList) -> bool
fn eq(&self, other: &MailingList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MailingList
impl Serialize for MailingList
source§impl StructObject for MailingList
impl StructObject for MailingList
source§fn get_field(&self, name: &str) -> Option<Value>
fn get_field(&self, name: &str) -> Option<Value>
Invoked by the engine to get a field of a struct. Read more
source§fn static_fields(&self) -> Option<&'static [&'static str]>
fn static_fields(&self) -> Option<&'static [&'static str]>
If possible returns a static vector of field names. Read more
§fn field_count(&self) -> usize
fn field_count(&self) -> usize
Returns the number of fields. Read more
impl Eq for MailingList
impl StructuralEq for MailingList
impl StructuralPartialEq for MailingList
Auto Trait Implementations§
impl RefUnwindSafe for MailingList
impl Send for MailingList
impl Sync for MailingList
impl Unpin for MailingList
impl UnwindSafe for MailingList
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.