pub struct TransactionalDraftResponse {
pub id: String,
pub url: String,
pub name: String,
pub draft_email_message_id: Option<String>,
pub draft_email_message_content_revision_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.
draft_email_message_content_revision_id: Option<String>The contentRevisionId of the draft email message. Pass this as expectedRevisionId on your first update via POST /v1/email-messages/{emailMessageId}.
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. Returned when creating a transactional email.
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 TransactionalDraftResponse
impl Clone for TransactionalDraftResponse
Source§impl Debug for TransactionalDraftResponse
impl Debug for TransactionalDraftResponse
Source§impl Default for TransactionalDraftResponse
impl Default for TransactionalDraftResponse
Source§impl<'de> Deserialize<'de> for TransactionalDraftResponse
impl<'de> Deserialize<'de> for TransactionalDraftResponse
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
impl StructuralPartialEq for TransactionalDraftResponse
Auto Trait Implementations§
impl Freeze for TransactionalDraftResponse
impl RefUnwindSafe for TransactionalDraftResponse
impl Send for TransactionalDraftResponse
impl Sync for TransactionalDraftResponse
impl Unpin for TransactionalDraftResponse
impl UnsafeUnpin for TransactionalDraftResponse
impl UnwindSafe for TransactionalDraftResponse
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