# ChangeStatistics

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dynamic-data/diagnostics/struct-changestatistics/

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

```rust
struct ChangeStatistics
```

The counts of one change set, or of all of them so far (`ChangeStatistics`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L8)

## Members

- [`index`](#struct_field-index)
- [`adds`](#struct_field-adds)
- [`updates`](#struct_field-updates)
- [`removes`](#struct_field-removes)
- [`refreshes`](#struct_field-refreshes)
- [`moves`](#struct_field-moves)
- [`count`](#struct_field-count)
- [`last_updated`](#struct_field-last_updated)
- [`new`](#function-new)

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

### index

```rust
index: Option<usize>
```

The number of the change set, from 0; `None` before any (`Index`, `-1` upstream).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L10)

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

### adds

```rust
adds: usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L11)

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

### updates

```rust
updates: usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L12)

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

### removes

```rust
removes: usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L13)

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

### refreshes

```rust
refreshes: usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L14)

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

### moves

```rust
moves: usize
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L15)

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

### count

```rust
count: usize
```

The number of changes (`Count`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L17)

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

### last_updated

```rust
last_updated: std::time::SystemTime
```

When the statistics were made (`LastUpdated`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L19)

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

### new

```rust
fn new(index: Option<usize>, adds: usize, updates: usize, removes: usize, refreshes: usize, moves: usize, count: usize) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/diagnostics/mod.rs#L29)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Equivalent<K>`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Default`

## Availability

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