Make List structs cloneable, (de)serializeable; make some fields public
This commit is contained in:
parent
b6acf681e5
commit
5862a89357
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue