# RunCreate

## pub struct RunCreate

Parameters for creating a new run.

## Implementations

### impl RunCreate

#### pub fn new(name: impl Into<String>, start: DateTime<Utc>) -> Self

A run requires at minimum a name and a start time.

#### pub fn description(self, value: impl Into<String>) -> Self

#### pub fn end(self, value: DateTime<Utc>) -> Self

#### pub fn properties<I, K, V>(self, value: I) -> Self where I: IntoIterator<Item = (K, V)>, K: Into<String>, V: Into<String>

#### pub fn labels<I>(self, value: I) -> Self where I: IntoIterator, I::Item: Into<String>

#### pub fn assets<I, S>(self, value: I) -> Self where I: IntoIterator<Item = S>, S: Into<String>

Asset RIDs to associate this run with.

## 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)
