pub struct TransactionalResource {
pub id: String,
pub url: String,
pub name: String,
pub draft_email_message_id: Option<String>,
pub published_email_message_id: Option<String>,
pub transactional_group_id: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub data_variables: Vec<String>,
}Fields§
§id: StringThe ID of the transactional email.
url: StringThe URL of the transactional email in the Loops app.
name: StringThe name of the transactional email.
draft_email_message_id: Option<String>The ID of the draft email message. null if there is no draft version.
published_email_message_id: Option<String>The ID of the published email message. null if there is no published version.
transactional_group_id: Option<String>The ID of the group this transactional email belongs to.
created_at: DateTime<Utc>ISO 8601 timestamp for when the transactional email was created.
updated_at: DateTime<Utc>ISO 8601 timestamp for when the transactional email was last updated.
data_variables: Vec<String>Data variable names used by the published email. Empty for unpublished transactional emails.
Trait Implementations§
Source§impl Clone for TransactionalResource
impl Clone for TransactionalResource
Source§impl Debug for TransactionalResource
impl Debug for TransactionalResource
Source§impl Default for TransactionalResource
impl Default for TransactionalResource
Source§impl<'de> Deserialize<'de> for TransactionalResource
impl<'de> Deserialize<'de> for TransactionalResource
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 TransactionalResource
impl PartialEq for TransactionalResource
impl StructuralPartialEq for TransactionalResource
Auto Trait Implementations§
impl Freeze for TransactionalResource
impl RefUnwindSafe for TransactionalResource
impl Send for TransactionalResource
impl Sync for TransactionalResource
impl Unpin for TransactionalResource
impl UnsafeUnpin for TransactionalResource
impl UnwindSafe for TransactionalResource
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