# ObservedChange

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/interfaces/struct-observedchange/

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

```rust
struct ObservedChange<S, V>
```

One property change: the object that raised it, the path of the property and its value
(`ObservedChange<TSender, TValue>`).

A notification of a property observer (`ICreatesObservableForProperty`) carries no value
(`V` is `()`): the reader reads the current value from the sender.



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interfaces/observed_change.rs#L13)

## Members

- [`sender`](#struct_field-sender)
- [`expression`](#struct_field-expression)
- [`value`](#struct_field-value)
- [`new`](#function-new)

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

### sender

```rust
sender: S
```

The object that raised the change (`Sender`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interfaces/observed_change.rs#L15)

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

### expression

```rust
expression: String
```

The path of the property that changed, `Address.Street` (`Expression`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interfaces/observed_change.rs#L17)

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

### value

```rust
value: V
```

The value of the property (`Value`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interfaces/observed_change.rs#L19)

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

### new

```rust
fn new(sender: S, expression: impl Into<String>, value: V) -> Self
```

A change of `expression` on `sender` with `value`
(`ObservedChange(TSender, Expression?, TValue)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/interfaces/observed_change.rs#L25)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ObservedChangedMixins<S, V>`](/docs/0.5.0/api/ferroui-reactiveui/binding/observable_for_property/trait-observedchangedmixins/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Debug`
- `Clone`
- `StructuralPartialEq`
- `PartialEq`
- [`IObservedChange<S, V>`](/docs/0.5.0/api/ferroui-reactiveui/binding/interfaces/trait-iobservedchange/)
- [`IObservable<ObservedChange<Rc<T>, V>>`](/docs/0.5.0/api/ferroui-base/reactive/use-iobservable/)
- [`IObservable<ObservedChange<PropertyOwner, ()>>`](/docs/0.5.0/api/ferroui-base/reactive/use-iobservable/)

## Availability

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