From 91dba09b37986faefb2f56b890d0dd63499d474d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=B3=CE=BB?= Date: Fri, 29 Nov 2024 13:48:35 +0700 Subject: [PATCH] Update README.md --- packages/ciphernode/data/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/ciphernode/data/README.md b/packages/ciphernode/data/README.md index 6ce25a9d..855dd380 100644 --- a/packages/ciphernode/data/README.md +++ b/packages/ciphernode/data/README.md @@ -130,3 +130,11 @@ persistable.clear(); assert_eq!(persistable.get(), None); ``` + +To use it we can just have it as a field on a struct or actor: + +```rust +struct MyActor { + state: Persistable> +} +```