pub struct DocumentOptionsOverride {
pub locale: Option<String>,
pub integral_name_memory: Option<DocumentIntegralNameOverride>,
pub org_abbreviation_memory: Option<DocumentOrgAbbreviationOverride>,
pub bibliography: Option<DocumentBibliographyOverride>,
}Expand description
Per-document presentation overrides parsed from frontmatter options: block.
Eligible options are those that control how output looks without requiring the processor to re-walk citations for disambiguation or sorting. All fields are optional; absent fields inherit the style’s defaults.
Fields§
§locale: Option<String>BCP 47 locale ID to use as the base locale for this document.
Replaces the style’s default locale entirely. Handled in the CLI layer;
apply_to does not touch locale.
integral_name_memory: Option<DocumentIntegralNameOverride>Integral-name-memory override. Takes precedence over the legacy top-level
integral-name-memory: frontmatter field when both are present.
org_abbreviation_memory: Option<DocumentOrgAbbreviationOverride>Org-abbreviation-memory override.
bibliography: Option<DocumentBibliographyOverride>Bibliography presentation overrides.
Trait Implementations§
Source§impl Clone for DocumentOptionsOverride
impl Clone for DocumentOptionsOverride
Source§fn clone(&self) -> DocumentOptionsOverride
fn clone(&self) -> DocumentOptionsOverride
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentOptionsOverride
impl Debug for DocumentOptionsOverride
Source§impl Default for DocumentOptionsOverride
impl Default for DocumentOptionsOverride
Source§fn default() -> DocumentOptionsOverride
fn default() -> DocumentOptionsOverride
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentOptionsOverride
impl<'de> Deserialize<'de> for DocumentOptionsOverride
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
Source§impl PartialEq for DocumentOptionsOverride
impl PartialEq for DocumentOptionsOverride
Source§fn eq(&self, other: &DocumentOptionsOverride) -> bool
fn eq(&self, other: &DocumentOptionsOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentOptionsOverride
impl Serialize for DocumentOptionsOverride
impl StructuralPartialEq for DocumentOptionsOverride
Auto Trait Implementations§
impl Freeze for DocumentOptionsOverride
impl RefUnwindSafe for DocumentOptionsOverride
impl Send for DocumentOptionsOverride
impl Sync for DocumentOptionsOverride
impl Unpin for DocumentOptionsOverride
impl UnsafeUnpin for DocumentOptionsOverride
impl UnwindSafe for DocumentOptionsOverride
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