make fields public
This commit is contained in:
parent
e7fe661d36
commit
95673eab1c
14
src/lib.rs
14
src/lib.rs
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user