Struct hyper_static_server::BuilderConfiguration
source · [−]pub struct BuilderConfiguration {Show 13 fields
pub sources: Option<PathBuf>,
pub assets_sources: Option<PathBuf>,
pub templates_sources: Option<PathBuf>,
pub markdowns_sources: Option<PathBuf>,
pub assets_route_base: Option<PathBuf>,
pub css_route_base: Option<PathBuf>,
pub js_route_base: Option<PathBuf>,
pub images_route_base: Option<PathBuf>,
pub icons_route_base: Option<PathBuf>,
pub favicons_route_base: Option<PathBuf>,
pub fonts_route_base: Option<PathBuf>,
pub outputs: PathBuf,
pub generated: PathBuf,
}
Fields
sources: Option<PathBuf>
assets_sources: Option<PathBuf>
templates_sources: Option<PathBuf>
markdowns_sources: Option<PathBuf>
assets_route_base: Option<PathBuf>
css_route_base: Option<PathBuf>
js_route_base: Option<PathBuf>
images_route_base: Option<PathBuf>
icons_route_base: Option<PathBuf>
favicons_route_base: Option<PathBuf>
fonts_route_base: Option<PathBuf>
outputs: PathBuf
generated: PathBuf
Implementations
sourceimpl BuilderConfiguration
impl BuilderConfiguration
pub fn minimal() -> BuilderResult<Self>
pub fn resolve_sources() -> BuilderResult<PathBuf>
pub fn resolve_outputs() -> BuilderResult<PathBuf>
Trait Implementations
sourceimpl Clone for BuilderConfiguration
impl Clone for BuilderConfiguration
sourcefn clone(&self) -> BuilderConfiguration
fn clone(&self) -> BuilderConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuilderConfiguration
impl Debug for BuilderConfiguration
Auto Trait Implementations
impl RefUnwindSafe for BuilderConfiguration
impl Send for BuilderConfiguration
impl Sync for BuilderConfiguration
impl Unpin for BuilderConfiguration
impl UnwindSafe for BuilderConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<EI, EO> ErrorExtWrap<EO> for EI where
EO: ErrorExtWrapFrom<EI>,
impl<EI, EO> ErrorExtWrap<EO> for EI where
EO: ErrorExtWrapFrom<EI>,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more