pub struct TemplateViewData {
pub content_markdown: String,
pub created_at: Datetime,
pub disabled: bool,
pub id: String,
pub lang: Option<Language>,
pub last_updated_by: Did,
pub name: String,
pub subject: Option<String>,
pub updated_at: Datetime,
}Available on crate feature
namespace-toolsozone only.Fields§
§content_markdown: StringSubject of the message, used in emails.
created_at: Datetime§disabled: bool§id: String§lang: Option<Language>Message language.
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 TemplateViewData
impl Clone for TemplateViewData
Source§fn clone(&self) -> TemplateViewData
fn clone(&self) -> TemplateViewData
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 TemplateViewData
impl Debug for TemplateViewData
Source§impl<'de> Deserialize<'de> for TemplateViewData
impl<'de> Deserialize<'de> for TemplateViewData
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 TemplateViewData
impl PartialEq for TemplateViewData
Source§impl Serialize for TemplateViewData
impl Serialize for TemplateViewData
impl Eq for TemplateViewData
impl StructuralPartialEq for TemplateViewData
Auto Trait Implementations§
impl Freeze for TemplateViewData
impl RefUnwindSafe for TemplateViewData
impl Send for TemplateViewData
impl Sync for TemplateViewData
impl Unpin for TemplateViewData
impl UnwindSafe for TemplateViewData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.