pub struct EnterpriseConfig {
pub derived: HashMap<String, DerivedFieldConfig>,
pub required: Vec<String>,
}Expand description
Enterprise configuration for derived frontmatter and validation
Fields§
§derived: HashMap<String, DerivedFieldConfig>Field derivation rules (which fields to derive, from what source, using what pattern)
required: Vec<String>List of required field names to validate
Trait Implementations§
Source§impl Clone for EnterpriseConfig
impl Clone for EnterpriseConfig
Source§fn clone(&self) -> EnterpriseConfig
fn clone(&self) -> EnterpriseConfig
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 EnterpriseConfig
impl Debug for EnterpriseConfig
Source§impl Default for EnterpriseConfig
impl Default for EnterpriseConfig
Source§fn default() -> EnterpriseConfig
fn default() -> EnterpriseConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnterpriseConfig
impl<'de> Deserialize<'de> for EnterpriseConfig
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 EnterpriseConfig
impl RefUnwindSafe for EnterpriseConfig
impl Send for EnterpriseConfig
impl Sync for EnterpriseConfig
impl Unpin for EnterpriseConfig
impl UnwindSafe for EnterpriseConfig
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