Struct conserve::index::IndexEntry
[−]
[src]
pub struct IndexEntry { pub apath: String, pub mtime: Option<u64>, pub kind: Kind, pub blake2b: Option<String>, pub addrs: Vec<Address>, pub target: Option<String>, }
Description of one archived file.
This struct is directly encoded/decoded to the json index file.
Fields
apath: String
Path of this entry relative to the base of the backup, in apath
form.
mtime: Option<u64>
File modification time, in whole seconds past the Unix epoch.
kind: Kind
Type of file.
blake2b: Option<String>
BLAKE2b hash of the entire original file, without salt.
addrs: Vec<Address>
Blocks holding the file contents.
target: Option<String>
For symlinks only, the target of the symlink.
Trait Implementations
impl Debug for IndexEntry
[src]
impl Decodable for IndexEntry
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<IndexEntry, __D::Error>
[src]
Deserialize a value using a Decoder
.
impl Encodable for IndexEntry
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.