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)]
|
#[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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user