pub struct Config {
pub manifest: ManifestConfig,
pub domains: AllowlistConfig,
pub kind: AllowlistConfig,
pub layout: LayoutConfig,
pub index: IndexConfig,
pub branding: BrandingConfig,
pub coupling: CouplingConfig,
pub provenance: ProvenanceConfig,
pub frontmatter: FrontmatterConfig,
}Expand description
The full configuration. All sections are optional. Default is derived;
each field’s own Default supplies the conventional value.
Fields§
§manifest: ManifestConfig§domains: AllowlistConfigOpt-in domain taxonomy (empty allowed ⇒ free-text/disabled).
kind: AllowlistConfigOpt-in kind taxonomy, symmetric with domains (empty ⇒ disabled).
layout: LayoutConfig§index: IndexConfig§branding: BrandingConfig§coupling: CouplingConfig§provenance: ProvenanceConfig§frontmatter: FrontmatterConfigTrait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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