Make List structs cloneable, (de)serializeable; make some fields public

This commit is contained in:
Paul van Tilburg 2017-12-23 22:02:46 +01:00
parent b6acf681e5
commit 5862a89357
1 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@ use std::fs::File;
use std::io::prelude::*;
use std::path::PathBuf;
#[derive(Debug)]
#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct List {
data: String,
html: String,
name: String,
pub id: String,
pub data: String,
pub name: String,
path: PathBuf
}