mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 09:14:54 +10:00
11 lines
323 B
Rust
11 lines
323 B
Rust
use std::collections::HashMap;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
pub type DropManifest = HashMap<String, DropChunk>;
|
|
#[derive(Serialize, Deserialize, Debug, Clone, Ord, PartialOrd, Eq, PartialEq)]
|
|
pub struct DropChunk {
|
|
permissions: usize,
|
|
ids: Vec<String>,
|
|
checksums: Vec<String>,
|
|
lengths: Vec<usize>
|
|
} |