# Snapshot

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-collaboration/struct-snapshot/

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

```rust
struct Snapshot
```

A complete transport-independent checkpoint. Exact baseline comparison prevents a snapshot
from being accidentally merged into a session based on different source text.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration/model.rs#L116)

## Members

- [`protocol`](#struct_field-protocol)
- [`document_id`](#struct_field-document_id)
- [`baseline`](#struct_field-baseline)
- [`operations`](#struct_field-operations)

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

### protocol

```rust
protocol: u32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration/model.rs#L117)

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

### document_id

```rust
document_id: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration/model.rs#L118)

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

### baseline

```rust
baseline: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration/model.rs#L119)

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

### operations

```rust
operations: Vec<Operation>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Collaboration/model.rs#L120)

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