b0f449b6ae
For now depend on my branch on Github, until serde support and the value type land in the main repo. type: reform
11 lines
300 B
Rust
11 lines
300 B
Rust
use crate::common::*;
|
|
|
|
#[skip_serializing_none]
|
|
#[derive(Deserialize, Serialize, Debug, PartialEq)]
|
|
pub(crate) struct FileInfo {
|
|
pub(crate) length: u64,
|
|
pub(crate) path: FilePath,
|
|
#[serde(skip_serializing_if = "Option::is_none", default, with = "inner")]
|
|
pub(crate) md5sum: Option<String>,
|
|
}
|