Struct atrium_api::tools::ozone::communication::defs::TemplateView
source · pub struct TemplateView {
pub content_markdown: String,
pub created_at: Datetime,
pub disabled: bool,
pub id: String,
pub last_updated_by: Did,
pub name: String,
pub subject: Option<String>,
pub updated_at: Datetime,
}Fields§
§content_markdown: StringSubject of the message, used in emails.
created_at: Datetime§disabled: bool§id: String§last_updated_by: DidDID of the user who last updated the template.
name: StringName of the template.
subject: Option<String>Content of the template, can contain markdown and variable placeholders.
updated_at: DatetimeTrait Implementations§
source§impl Clone for TemplateView
impl Clone for TemplateView
source§fn clone(&self) -> TemplateView
fn clone(&self) -> TemplateView
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 TemplateView
impl Debug for TemplateView
source§impl<'de> Deserialize<'de> for TemplateView
impl<'de> Deserialize<'de> for TemplateView
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 TemplateView
impl PartialEq for TemplateView
source§fn eq(&self, other: &TemplateView) -> bool
fn eq(&self, other: &TemplateView) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TemplateView
impl Serialize for TemplateView
impl Eq for TemplateView
impl StructuralPartialEq for TemplateView
Auto Trait Implementations§
impl Freeze for TemplateView
impl RefUnwindSafe for TemplateView
impl Send for TemplateView
impl Sync for TemplateView
impl Unpin for TemplateView
impl UnwindSafe for TemplateView
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