# 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`](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html), [`Clone`](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html)

**Auto traits**: [`Send`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Send.html), [`Sync`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Sync.html), [`Unpin`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Unpin.html), [`UnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.UnwindSafe.html), [`RefUnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.RefUnwindSafe.html)
