2019-05-24 10:25:55 +02:00
|
|
|
use crate::common::*;
|
|
|
|
|
|
|
|
#[derive(Deserialize, Serialize)]
|
|
|
|
pub struct Metainfo {
|
|
|
|
pub announce: String,
|
|
|
|
#[serde(rename = "announce list")]
|
2020-01-24 23:17:31 +01:00
|
|
|
pub announce_list: Option<Vec<Vec<String>>>,
|
2019-05-24 10:25:55 +02:00
|
|
|
pub comment: Option<String>,
|
|
|
|
#[serde(rename = "created by")]
|
|
|
|
pub created_by: Option<String>,
|
|
|
|
#[serde(rename = "creation date")]
|
|
|
|
pub creation_date: Option<u64>,
|
|
|
|
pub encoding: String,
|
|
|
|
pub info: Info,
|
|
|
|
}
|