pub struct EmailTemplateUpdate {
pub name: String,
pub subject: String,
pub content: Value,
pub exercise_completions_threshold: Option<i32>,
pub points_threshold: Option<i32>,
}
Fields§
§name: String
§subject: String
§content: Value
§exercise_completions_threshold: Option<i32>
§points_threshold: Option<i32>
Trait Implementations§
source§impl Clone for EmailTemplateUpdate
impl Clone for EmailTemplateUpdate
source§fn clone(&self) -> EmailTemplateUpdate
fn clone(&self) -> EmailTemplateUpdate
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 EmailTemplateUpdate
impl Debug for EmailTemplateUpdate
source§impl<'de> Deserialize<'de> for EmailTemplateUpdate
impl<'de> Deserialize<'de> for EmailTemplateUpdate
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 EmailTemplateUpdate
impl PartialEq for EmailTemplateUpdate
source§fn eq(&self, other: &EmailTemplateUpdate) -> bool
fn eq(&self, other: &EmailTemplateUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EmailTemplateUpdate
impl Serialize for EmailTemplateUpdate
impl StructuralPartialEq for EmailTemplateUpdate
Auto Trait Implementations§
impl RefUnwindSafe for EmailTemplateUpdate
impl Send for EmailTemplateUpdate
impl Sync for EmailTemplateUpdate
impl Unpin for EmailTemplateUpdate
impl UnwindSafe for EmailTemplateUpdate
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