make fields public

This commit is contained in:
Adrian Malacoda 2017-10-25 22:17:56 -05:00
parent e7fe661d36
commit 95673eab1c

View File

@ -129,16 +129,16 @@ impl ResourcesGenerator {
#[derive(Default)] #[derive(Default)]
pub struct Resource { pub struct Resource {
source: PathBuf, pub source: PathBuf,
mount_at: Option<ResourceMount>, pub mount_at: Option<ResourceMount>,
constant: Option<&'static str>, pub constant: Option<&'static str>,
template_name: Option<&'static str>, pub template_name: Option<&'static str>,
raw: bool pub raw: bool
} }
pub struct ResourceMount { pub struct ResourceMount {
endpoint: &'static str, pub endpoint: &'static str,
content_type: &'static str pub content_type: &'static str
} }
pub struct Downloader { pub struct Downloader {