# QrCandidate

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-qr/struct-qrcandidate/

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

```rust
struct QrCandidate
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L134)

## Members

- [`frame`](#struct_field-frame)
- [`timestamp`](#struct_field-timestamp)
- [`frame_geometry`](#struct_field-frame_geometry)
- [`text`](#struct_field-text)
- [`codewords`](#struct_field-codewords)
- [`byte_segments`](#struct_field-byte_segments)
- [`payload_bytes`](#struct_field-payload_bytes)
- [`corners`](#struct_field-corners)
- [`geometry`](#struct_field-geometry)

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

### frame

```rust
frame: ferroui_media::frames::FrameIdentity
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L135)

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

### timestamp

```rust
timestamp: std::time::Duration
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L136)

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

### frame_geometry

```rust
frame_geometry: QrFrameGeometry
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L137)

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

### text

```rust
text: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L138)

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

### codewords

```rust
codewords: Option<Vec<u8>>
```

Decoder's corrected QR codewords, not mislabeled payload bytes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L140)

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

### byte_segments

```rust
byte_segments: Vec<Vec<u8>>
```

Byte-mode segments as exposed by the decoder. Mixed modes may also
contain numeric/alphanumeric content; these are not the full payload.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L143)

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

### payload_bytes

```rust
payload_bytes: Option<Vec<u8>>
```

Full payload bytes only when an engine actually exposes them.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L145)

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

### corners

```rust
corners: [(f64, f64); 4]
```

Normalized corners in the published frame's unrotated texture plane;
presentation rotation/mirror is applied by the common geometry mapping.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L148)

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

### geometry

```rust
geometry: GeometryQuality
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L149)

## Trait implementations

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

## Availability

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