diff options
Diffstat (limited to '')
-rw-r--r-- | lockchain-core/src/meta.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lockchain-core/src/meta.rs b/lockchain-core/src/meta.rs index 8973b7d..503c7ff 100644 --- a/lockchain-core/src/meta.rs +++ b/lockchain-core/src/meta.rs @@ -8,6 +8,13 @@ use record::Payload; use std::collections::HashMap; use traits::{AutoEncoder, Body}; +/// A simple representation of metadata for a vault or vault section +pub struct VaultMetadata { + pub name: String, + pub location: String, + pub size: usize, +} + /// A metadomain is a simplified version of a cleartext record. /// /// It is not encoded in special ways, it is not used in any way |