pub struct DirsConfig {
pub templates: String,
pub assets: String,
pub media: String,
pub icons: String,
pub docs: String,
pub rustdoc: String,
}Expand description
Directories configuration.
Fields§
§templates: StringHTML templates directory.
assets: StringStatic files directory.
media: StringMedia (user avatars/banners) files directory.
icons: StringThe icons files directory.
docs: StringThe markdown document files directory.
rustdoc: StringThe directory which holds your rustdoc (cargo doc) output. The directory should
exist, but it isn’t required to actually have anything in it.
Trait Implementations§
Source§impl Clone for DirsConfig
impl Clone for DirsConfig
Source§fn clone(&self) -> DirsConfig
fn clone(&self) -> DirsConfig
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 DirsConfig
impl Debug for DirsConfig
Source§impl Default for DirsConfig
impl Default for DirsConfig
Source§impl<'de> Deserialize<'de> for DirsConfig
impl<'de> Deserialize<'de> for DirsConfig
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 DirsConfig
impl RefUnwindSafe for DirsConfig
impl Send for DirsConfig
impl Sync for DirsConfig
impl Unpin for DirsConfig
impl UnwindSafe for DirsConfig
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