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)]
pub struct Resource {
source: PathBuf,
mount_at: Option<ResourceMount>,
constant: Option<&'static str>,
template_name: Option<&'static str>,
raw: bool
pub source: PathBuf,
pub mount_at: Option<ResourceMount>,
pub constant: Option<&'static str>,
pub template_name: Option<&'static str>,
pub raw: bool
}
pub struct ResourceMount {
endpoint: &'static str,
content_type: &'static str
pub endpoint: &'static str,
pub content_type: &'static str
}
pub struct Downloader {