Struct cobalt::cobalt_model::Config
source · pub struct Config {Show 14 fields
pub source: PathBuf,
pub destination: PathBuf,
pub ignore: Vec<KString>,
pub page_extensions: Vec<KString>,
pub include_drafts: bool,
pub pages: Collection,
pub posts: Collection,
pub site: Site,
pub layouts_path: PathBuf,
pub liquid: LiquidBuilder,
pub markdown: MarkdownBuilder,
pub syntax: Arc<SyntaxHighlight>,
pub assets: AssetsBuilder,
pub minify: Minify,
}
Fields§
§source: PathBuf
§destination: PathBuf
§ignore: Vec<KString>
§page_extensions: Vec<KString>
§include_drafts: bool
§pages: Collection
§posts: Collection
§site: Site
§layouts_path: PathBuf
§liquid: LiquidBuilder
§markdown: MarkdownBuilder
§syntax: Arc<SyntaxHighlight>
§assets: AssetsBuilder
§minify: Minify
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<V> AdhocValue for V
impl<V> AdhocValue for V
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