diff options
Diffstat (limited to 'lockchain-files/src/userstore.rs')
-rw-r--r-- | lockchain-files/src/userstore.rs | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/lockchain-files/src/userstore.rs b/lockchain-files/src/userstore.rs index 07c57fd..f7bfccd 100644 --- a/lockchain-files/src/userstore.rs +++ b/lockchain-files/src/userstore.rs @@ -1,20 +1,4 @@ -//! This module maps the lockchain internal `UserStore` into a -//! structure that can be saved to disk. +//! Implements serialization, desrialization for UserStore -use lcc::users::UserStore; -pub struct UserStoreMapper { - inner: UserStore, -} -impl UserStoreMapper { - pub fn new() -> Self { - Self { - inner: UserStore::new(), - } - } - - pub fn load(store: UserStore) -> Self { - Self { inner: store } - } -} |