# BuildTask

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-project/struct-buildtask/

**struct** · [`ferroui-designer-project`](/docs/0.5.0/api/ferroui-designer-project/) · v0.5.0

```rust
struct BuildTask
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/tasks.rs#L16)

## Members

- [`label`](#struct_field-label)
- [`cargo`](#function-cargo)
- [`program`](#function-program)
- [`arguments`](#function-arguments)
- [`directory`](#function-directory)
- [`start`](#function-start)

<a id="struct_field-label"></a>

### label

```rust
label: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/tasks.rs#L20)

<a id="function-cargo"></a>

### cargo

```rust
fn cargo(project: &ProjectDescriptor, kind: TaskKind, release: bool) -> Result<Self>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/tasks.rs#L23)

<a id="function-program"></a>

### program

```rust
fn program(self: &Self) -> &str
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/tasks.rs#L73)

<a id="function-arguments"></a>

### arguments

```rust
fn arguments(self: &Self) -> &[String]
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/tasks.rs#L76)

<a id="function-directory"></a>

### directory

```rust
fn directory(self: &Self) -> &Path
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/tasks.rs#L79)

<a id="function-start"></a>

### start

```rust
fn start(self: &Self) -> Result<TaskHandle>
```

Starts a shell-free child. Build scripts and the selected application execute with the
host's privileges; the host decides when a user-authorized task may start.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Project/tasks.rs#L84)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Clone`
- `Debug`
- `Serialize`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
