# IDataValidationPlugin

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/core/plugins/trait-idatavalidationplugin/

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

```rust
trait IDataValidationPlugin
```

Defines how data validation is observed by a binding.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/core/plugins/i_property_accessor.rs#L44)

## Members

- [`match_`](#function-match_)
- [`start`](#function-start)

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

### match_

```rust
fn match_(self: &Self, reference: &WeakValue, member_name: &str) -> bool
```

Checks whether this plugin can handle data validation on the specified
object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/core/plugins/i_property_accessor.rs#L47)

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

### start

```rust
fn start(self: &Self, reference: &WeakValue, property_name: &str, inner: Rc<dyn IPropertyAccessor>) -> Rc<dyn IPropertyAccessor>
```

Starts monitoring the data validation state of a property on an
object, wrapping `inner`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/core/plugins/i_property_accessor.rs#L51)

## Trait implementations

- [`IDataValidationPlugin`](/docs/0.5.0/api/ferroui-base/data/core/plugins/trait-idatavalidationplugin/)

## Availability

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