# WinUIXamlDiagnostic

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-markup-xaml-winui/struct-winuixamldiagnostic/

**struct** · [`ferroui-markup-xaml-winui`](/docs/0.5.0/api/ferroui-markup-xaml-winui/) · v0.5.0

```rust
struct WinUIXamlDiagnostic
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L21)

## Members

- [`code`](#struct_field-code)
- [`severity`](#struct_field-severity)
- [`message`](#struct_field-message)
- [`span`](#struct_field-span)

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

### code

```rust
code: &'static str
```

Stable identifier suitable for automated parity ledgers.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L23)

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

### severity

```rust
severity: WinUIXamlDiagnosticSeverity
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L24)

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

### message

```rust
message: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L25)

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

### span

```rust
span: WinUIXamlSourceSpan
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Markup/FerroUI.Markup.Xaml.WinUI/importer/report.rs#L26)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`

## Availability

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