atrium-api 0.25.8

API library for AT Protocol (Bluesky)
Documentation
// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
//!Definitions for the `tools.ozone.communication.defs` namespace.
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct TemplateViewData {
    ///Subject of the message, used in emails.
    pub content_markdown: String,
    pub created_at: crate::types::string::Datetime,
    pub disabled: bool,
    pub id: String,
    ///Message language.
    #[serde(skip_serializing_if = "core::option::Option::is_none")]
    pub lang: core::option::Option<crate::types::string::Language>,
    ///DID of the user who last updated the template.
    pub last_updated_by: crate::types::string::Did,
    ///Name of the template.
    pub name: String,
    ///Content of the template, can contain markdown and variable placeholders.
    #[serde(skip_serializing_if = "core::option::Option::is_none")]
    pub subject: core::option::Option<String>,
    pub updated_at: crate::types::string::Datetime,
}
pub type TemplateView = crate::types::Object<TemplateViewData>;