pub struct DocumentIntegralNameOverride {
pub enabled: Option<bool>,
pub rule: Option<IntegralNameRule>,
pub scope: Option<IntegralNameScope>,
pub contexts: Option<IntegralNameContexts>,
pub subsequent_form: Option<IntegralNameForm>,
pub short_name_display: Option<ShortNameDisplay>,
}Expand description
Document-level integral-name override parsed from frontmatter.
Fields§
§enabled: Option<bool>Whether the integral-name policy is enabled for this document.
rule: Option<IntegralNameRule>The name-memory rule to apply.
scope: Option<IntegralNameScope>Where name-memory resets.
contexts: Option<IntegralNameContexts>Which document contexts participate in the policy.
subsequent_form: Option<IntegralNameForm>The contributor form used after the first mention.
short_name_display: Option<ShortNameDisplay>How to display a short name on the first integral mention.
Trait Implementations§
Source§impl Clone for DocumentIntegralNameOverride
impl Clone for DocumentIntegralNameOverride
Source§fn clone(&self) -> DocumentIntegralNameOverride
fn clone(&self) -> DocumentIntegralNameOverride
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 DocumentIntegralNameOverride
impl Debug for DocumentIntegralNameOverride
Source§impl Default for DocumentIntegralNameOverride
impl Default for DocumentIntegralNameOverride
Source§fn default() -> DocumentIntegralNameOverride
fn default() -> DocumentIntegralNameOverride
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentIntegralNameOverride
impl<'de> Deserialize<'de> for DocumentIntegralNameOverride
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 DocumentIntegralNameOverride
impl PartialEq for DocumentIntegralNameOverride
Source§fn eq(&self, other: &DocumentIntegralNameOverride) -> bool
fn eq(&self, other: &DocumentIntegralNameOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentIntegralNameOverride
Auto Trait Implementations§
impl Freeze for DocumentIntegralNameOverride
impl RefUnwindSafe for DocumentIntegralNameOverride
impl Send for DocumentIntegralNameOverride
impl Sync for DocumentIntegralNameOverride
impl Unpin for DocumentIntegralNameOverride
impl UnsafeUnpin for DocumentIntegralNameOverride
impl UnwindSafe for DocumentIntegralNameOverride
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