diff options
Diffstat (limited to 'lockchain-core/src/meta.rs')
-rw-r--r-- | lockchain-core/src/meta.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lockchain-core/src/meta.rs b/lockchain-core/src/meta.rs index 74b998d..c46cd95 100644 --- a/lockchain-core/src/meta.rs +++ b/lockchain-core/src/meta.rs @@ -4,9 +4,10 @@ //! as the normal Vault Record, without having to rely on encryption //! or trait base security. -use record::Payload; +use crate::record::Payload; use std::collections::HashMap; -use traits::{AutoEncoder, Body}; +use crate::traits::{AutoEncoder, Body}; +use serde::{Serialize, Deserialize}; /// A simple representation of metadata for a vault or vault section pub struct VaultMetadata { @@ -60,7 +61,7 @@ impl MetaDomain { } /// Insert a single value into the body - pub fn insert<S: Into<String>>(&mut self, key: S, value: Payload) -> &mut Self { + pub fn insert<S: Into<String>>(&mut self, _key: S, _value: Payload) -> &mut Self { unimplemented!() } |