From 95673eab1c52aa9d91ad25f73f0cd628aad8e784 Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Wed, 25 Oct 2017 22:17:56 -0500 Subject: [PATCH] make fields public --- src/lib.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9d72b03..ca692d4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -129,16 +129,16 @@ impl ResourcesGenerator { #[derive(Default)] pub struct Resource { - source: PathBuf, - mount_at: Option, - constant: Option<&'static str>, - template_name: Option<&'static str>, - raw: bool + pub source: PathBuf, + pub mount_at: Option, + 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 {