libasuran 0.0.3

Deduplicating, encrypting, fast, and tamper evident archive format
Documentation
1
2
3
4
5
6
7
8
9
use crate::repository::backend::SegmentDescriptor;
use crate::repository::ChunkID;
use serde::{Deserialize, Serialize};
/// Struct containing the various parts of a transaction
#[derive(Clone, PartialEq, Eq, Debug, Serialize, Deserialize)]
pub struct IndexTransaction {
    pub chunk_id: ChunkID,
    pub descriptor: SegmentDescriptor,
}