# DocumentLinkField

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/documents/struct-documentlinkfield/

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

```rust
struct DocumentLinkField
```

One link instruction and its visible result. A result can include structural
paragraph separators without adding an invisible interactive control there.
IDs are local to a document image; insertion remaps a copied image once per
field, while restore/history preserve its identities.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_link_field.rs#L16)

## Members

- [`id`](#struct_field-id)
- [`range`](#struct_field-range)
- [`target`](#struct_field-target)
- [`target_name`](#struct_field-target_name)
- [`has_sentinel`](#struct_field-has_sentinel)

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

### id

```rust
id: u64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_link_field.rs#L17)

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

### range

```rust
range: std::ops::Range<usize>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_link_field.rs#L18)

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

### target

```rust
target: String
```

Unquoted navigation target, independent of instruction syntax.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_link_field.rs#L20)

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

### target_name

```rust
target_name: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_link_field.rs#L21)

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

### has_sentinel

```rust
has_sentinel: bool
```

The optional instruction sentinel is not part of NavigateUri.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_link_field.rs#L23)

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