pub struct Template {Show 16 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub type: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub template_data: Option<Value>,
pub sort_order: Option<f64>,
pub last_applied_at: Option<DateTime<Utc>>,
pub organization: Option<Box<Organization>>,
pub team: Option<Box<Team>>,
pub creator: Option<Box<User>>,
pub last_updated_by: Option<Box<User>>,
pub inherited_from: Option<Box<Template>>,
pub has_form_fields: Option<bool>,
}Expand description
A template object used for creating entities faster.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
type: Option<String>The entity type this template is for.
name: Option<String>The name of the template.
description: Option<String>Template description.
template_data: Option<Value>Template data.
sort_order: Option<f64>The sort order of the template.
last_applied_at: Option<DateTime<Utc>>The date when the template was last applied.
organization: Option<Box<Organization>>The organization that the template is associated with. If null, the template is associated with a particular team.
team: Option<Box<Team>>The team that the template is associated with. If null, the template is global to the workspace.
creator: Option<Box<User>>The user who created the template.
last_updated_by: Option<Box<User>>The user who last updated the template.
inherited_from: Option<Box<Template>>The original template inherited from.
has_form_fields: Option<bool>Internal Whether the template has form fields