# ChangeSet

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-core/struct-changeset/

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

```rust
struct ChangeSet
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L135)

## Members

- [`label`](#struct_field-label)
- [`previous_revision`](#struct_field-previous_revision)
- [`revision`](#struct_field-revision)
- [`inserted`](#struct_field-inserted)
- [`removed`](#struct_field-removed)
- [`changed`](#struct_field-changed)
- [`patches`](#struct_field-patches)
- [`valid`](#struct_field-valid)
- [`is_empty`](#function-is_empty)

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

### label

```rust
label: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L136)

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

### previous_revision

```rust
previous_revision: u64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L137)

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

### revision

```rust
revision: u64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L138)

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

### inserted

```rust
inserted: Vec<crate::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L139)

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

### removed

```rust
removed: Vec<crate::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L140)

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

### changed

```rust
changed: Vec<crate::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L141)

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

### patches

```rust
patches: Vec<TextPatch>
```

A minimal contiguous replacement of the source, suitable for editor sync.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L143)

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

### valid

```rust
valid: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L144)

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

### is_empty

```rust
fn is_empty(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Core/document.rs#L147)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `DeserializeOwned`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Serialize`
- `Deserialize<'de>`

## Availability

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