# Outcome

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-static-view-locator-build/struct-outcome/

**struct** · [`ferroui-static-view-locator-build`](/docs/0.5.0/api/ferroui-static-view-locator-build/) · v0.5.0

```rust
struct Outcome
```

What a run did.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/StaticViewLocator/FerroUI.StaticViewLocator.Build/lib.rs#L81)

## Members

- [`lines`](#struct_field-lines)
- [`diagnostics`](#struct_field-diagnostics)
- [`files`](#struct_field-files)
- [`errors`](#function-errors)
- [`file`](#function-file)

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

### lines

```rust
lines: Vec<String>
```

The `cargo::` lines, in order (the diagnostics are not among them).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/StaticViewLocator/FerroUI.StaticViewLocator.Build/lib.rs#L83)

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

### diagnostics

```rust
diagnostics: Vec<Diagnostic>
```

The diagnostics, the errors first.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/StaticViewLocator/FerroUI.StaticViewLocator.Build/lib.rs#L85)

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

### files

```rust
files: Vec<GeneratedFile>
```

The generated files, in the order of the locators.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/StaticViewLocator/FerroUI.StaticViewLocator.Build/lib.rs#L87)

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

### errors

```rust
fn errors(self: &Self) -> impl Iterator<Item = &Diagnostic>
```

The errors.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/StaticViewLocator/FerroUI.StaticViewLocator.Build/lib.rs#L92)

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

### file

```rust
fn file(self: &Self, name: &str) -> Option<&str>
```

The generated file `name`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/StaticViewLocator/FerroUI.StaticViewLocator.Build/lib.rs#L97)

## 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`
- `Default`

## Availability

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