pub struct IntegralNameMemoryConfig {
pub scope: Option<IntegralNameScope>,
pub contexts: Option<IntegralNameContexts>,
pub subsequent_form: Option<SubsequentNameForm>,
pub unknown_fields: BTreeMap<String, Value>,
}Expand description
Integral citation name-memory policy.
The presence of this block enables full-then-short name memory for narrative (integral) citations. Absence disables it — there is no on/off field.
Fields§
§scope: Option<IntegralNameScope>Where the first-mention memory resets.
contexts: Option<IntegralNameContexts>Which document contexts participate in name-memory tracking.
subsequent_form: Option<SubsequentNameForm>The contributor form to use after the first mention in scope.
unknown_fields: BTreeMap<String, Value>Forward-compat: captures unknown keys when an older engine reads a
style produced by a newer schema. Empty by default; treated as a
SoftDegrade signal. See docs/specs/FORWARD_COMPATIBILITY.md.
Implementations§
Source§impl IntegralNameMemoryConfig
impl IntegralNameMemoryConfig
Sourcepub fn merge(&mut self, other: &IntegralNameMemoryConfig)
pub fn merge(&mut self, other: &IntegralNameMemoryConfig)
Merge another integral-name-memory config into this one.
Sourcepub fn resolve(&self) -> ResolvedIntegralNameMemoryConfig
pub fn resolve(&self) -> ResolvedIntegralNameMemoryConfig
Resolve the effective integral-name-memory config with defaults filled in.
Trait Implementations§
Source§impl Clone for IntegralNameMemoryConfig
impl Clone for IntegralNameMemoryConfig
Source§fn clone(&self) -> IntegralNameMemoryConfig
fn clone(&self) -> IntegralNameMemoryConfig
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 IntegralNameMemoryConfig
impl Debug for IntegralNameMemoryConfig
Source§impl Default for IntegralNameMemoryConfig
impl Default for IntegralNameMemoryConfig
Source§fn default() -> IntegralNameMemoryConfig
fn default() -> IntegralNameMemoryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntegralNameMemoryConfig
impl<'de> Deserialize<'de> for IntegralNameMemoryConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IntegralNameMemoryConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IntegralNameMemoryConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IntegralNameMemoryConfig
impl PartialEq for IntegralNameMemoryConfig
Source§fn eq(&self, other: &IntegralNameMemoryConfig) -> bool
fn eq(&self, other: &IntegralNameMemoryConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntegralNameMemoryConfig
impl Serialize for IntegralNameMemoryConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for IntegralNameMemoryConfig
Auto Trait Implementations§
impl Freeze for IntegralNameMemoryConfig
impl RefUnwindSafe for IntegralNameMemoryConfig
impl Send for IntegralNameMemoryConfig
impl Sync for IntegralNameMemoryConfig
impl Unpin for IntegralNameMemoryConfig
impl UnsafeUnpin for IntegralNameMemoryConfig
impl UnwindSafe for IntegralNameMemoryConfig
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