pub struct BuildSection {
pub output_dir: String,
pub content_dir: String,
pub template_dir: String,
pub static_dir: String,
pub data_dir: String,
pub public_dir: String,
pub minify: bool,
pub fingerprint: bool,
}Fields§
§output_dir: String§content_dir: String§template_dir: String§static_dir: String§data_dir: String§public_dir: String§minify: boolMinify CSS and JS files during build. Default: false.
fingerprint: boolAdd content-hash fingerprints to static filenames and write asset-manifest.json. Default: false.
Trait Implementations§
Source§impl Clone for BuildSection
impl Clone for BuildSection
Source§fn clone(&self) -> BuildSection
fn clone(&self) -> BuildSection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildSection
impl Debug for BuildSection
Source§impl Default for BuildSection
impl Default for BuildSection
Source§impl<'de> Deserialize<'de> for BuildSection
impl<'de> Deserialize<'de> for BuildSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BuildSection
impl RefUnwindSafe for BuildSection
impl Send for BuildSection
impl Sync for BuildSection
impl Unpin for BuildSection
impl UnsafeUnpin for BuildSection
impl UnwindSafe for BuildSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more