pub struct BaseFile {
pub title: Option<String>,
pub filters: Option<Filter>,
pub formulas: BTreeMap<String, String>,
pub properties: BTreeMap<String, PropertyConfig>,
pub summaries: BTreeMap<String, String>,
pub views: Vec<View>,
pub docgen_interactive: Option<InteractiveToggle>,
}Expand description
A parsed .base file.
Fields§
§title: Option<String>docgen-specific (Obsidian-ignored): the page title for a standalone .base
file. None falls back to the file’s name. Lets a base whose file name is
a slug (e.g. releases.base) present a proper title (“Releases”).
filters: Option<Filter>Global filter tree applied to every view.
formulas: BTreeMap<String, String>Named formulas: name → expression string.
properties: BTreeMap<String, PropertyConfig>Per-property display configuration.
summaries: BTreeMap<String, String>Named custom summary expressions.
views: Vec<View>The views to render, in order.
docgen_interactive: Option<InteractiveToggle>docgen-specific (Obsidian-ignored): a bare bool that enables/disables the
interactive island for the whole base. false = force pure static.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaseFile
impl<'de> Deserialize<'de> for BaseFile
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 BaseFile
impl RefUnwindSafe for BaseFile
impl Send for BaseFile
impl Sync for BaseFile
impl Unpin for BaseFile
impl UnsafeUnpin for BaseFile
impl UnwindSafe for BaseFile
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