pub struct ModEventEmail {
pub comment: Option<String>,
pub content: Option<String>,
pub is_delivered: Option<bool>,
pub policies: Option<Vec<String>>,
pub severity_level: Option<String>,
pub strike_count: Option<i64>,
pub strike_expires_at: Option<Datetime>,
pub subject_line: String,
}Expand description
Keep a log of outgoing email to a user
Fields§
§comment: Option<String>§content: Option<String>§is_delivered: Option<bool>§policies: Option<Vec<String>>§severity_level: Option<String>§strike_count: Option<i64>§strike_expires_at: Option<Datetime>§subject_line: StringTrait Implementations§
Source§impl Clone for ModEventEmail
impl Clone for ModEventEmail
Source§fn clone(&self) -> ModEventEmail
fn clone(&self) -> ModEventEmail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModEventEmail
impl Debug for ModEventEmail
Source§impl<'de> Deserialize<'de> for ModEventEmail
impl<'de> Deserialize<'de> for ModEventEmail
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
Auto Trait Implementations§
impl Freeze for ModEventEmail
impl RefUnwindSafe for ModEventEmail
impl Send for ModEventEmail
impl Sync for ModEventEmail
impl Unpin for ModEventEmail
impl UnsafeUnpin for ModEventEmail
impl UnwindSafe for ModEventEmail
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