[−][src]Struct cobalt::cobalt_model::ConfigBuilder
Fields
root: PathBuf
source: String
destination: String
abs_dest: Option<PathBuf>
include_drafts: bool
default: FrontmatterBuilder
pages: PageConfig
posts: PostConfig
site: SiteConfig
template_extensions: Vec<String>
ignore: Vec<String>
syntax_highlight: SyntaxHighlight
layouts_dir: &'static str
includes_dir: &'static str
assets: AssetsConfig
Implementations
impl ConfigBuilder
[src]
pub fn from_file<P: Into<PathBuf>>(path: P) -> Result<ConfigBuilder>
[src]
pub fn from_cwd<P: Into<PathBuf>>(cwd: P) -> Result<ConfigBuilder>
[src]
pub fn build(self) -> Result<Config>
[src]
Trait Implementations
impl Clone for ConfigBuilder
[src]
fn clone(&self) -> ConfigBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConfigBuilder
[src]
impl Default for ConfigBuilder
[src]
fn default() -> ConfigBuilder
[src]
impl<'de> Deserialize<'de> for ConfigBuilder where
ConfigBuilder: Default,
[src]
ConfigBuilder: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for ConfigBuilder
[src]
impl PartialEq<ConfigBuilder> for ConfigBuilder
[src]
fn eq(&self, other: &ConfigBuilder) -> bool
[src]
fn ne(&self, other: &ConfigBuilder) -> bool
[src]
impl Serialize for ConfigBuilder
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ConfigBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,