Template#

pub struct Template#

Represents a workbook template in Nominal.

Templates are versioned workbook definitions that can be applied to assets or runs to create new workbooks.

Implementations#

impl Template
pub fn rid(&self) -> &str#
pub fn title(&self) -> &str#
pub fn description(&self) -> Option<&str>#
pub fn commit_id(&self) -> &str#

The commit ID identifying this template version.

pub fn created_at(&self) -> &DateTime<Utc>#
pub fn layout_json(&self) -> String#

The template’s layout as a JSON string.

The schema is tied to the Nominal frontend and may evolve.

pub fn content_json(&self) -> String#

The template’s content as a JSON string.

The schema is tied to the Nominal frontend and may evolve.

pub fn nominal_url(&self) -> String#

Get the URL to view this template in the Nominal web app.

Trait implementations#

Derived: Debug, Clone

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe