# save_private

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-collaboration-host/function-save_private/

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

```rust
fn save_private<T: Serialize>(path: &std::path::Path, value: &T) -> Result<()>
```

Explicitly save a credential/invitation checkpoint with owner-only permissions and an atomic
replace. The caller chooses a private path; credentials are never written into project XAML.

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

## Availability

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