Struct cache_buster::processor::BusterBuilder [−][src]
pub struct BusterBuilder { /* fields omitted */ }
Builder for Buster
.
Implementations
impl BusterBuilder
[src]
impl BusterBuilder
[src]pub fn source<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
source directory
pub fn mime_types(&mut self, value: Vec<Mime>) -> &mut Self
[src]
mime_types for hashing
pub fn result<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
directory for writing results
pub fn prefix<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
route prefixes
pub fn copy(&mut self, value: bool) -> &mut Self
[src]
copy other non-hashed files from source dire to result dir?
pub fn follow_links(&mut self, value: bool) -> &mut Self
[src]
follow symlinks?
pub fn build(&self) -> Result<Buster, BusterBuilderError>
[src]
Trait Implementations
impl Clone for BusterBuilder
[src]
impl Clone for BusterBuilder
[src]fn clone(&self) -> BusterBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for BusterBuilder
[src]
impl Default for BusterBuilder
[src]