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