pub struct DocumentOrgAbbreviationOverride {
pub enabled: Option<bool>,
pub scope: Option<IntegralNameScope>,
pub contexts: Option<IntegralNameContexts>,
}Expand description
Document-level org-abbreviation-memory override parsed from frontmatter.
Fields§
§enabled: Option<bool>Whether org-abbreviation-memory is enabled for this document.
scope: Option<IntegralNameScope>Where name-memory resets.
contexts: Option<IntegralNameContexts>Which document contexts participate in the policy.
Trait Implementations§
Source§impl Clone for DocumentOrgAbbreviationOverride
impl Clone for DocumentOrgAbbreviationOverride
Source§fn clone(&self) -> DocumentOrgAbbreviationOverride
fn clone(&self) -> DocumentOrgAbbreviationOverride
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 Default for DocumentOrgAbbreviationOverride
impl Default for DocumentOrgAbbreviationOverride
Source§fn default() -> DocumentOrgAbbreviationOverride
fn default() -> DocumentOrgAbbreviationOverride
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentOrgAbbreviationOverride
impl<'de> Deserialize<'de> for DocumentOrgAbbreviationOverride
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 DocumentOrgAbbreviationOverride
impl PartialEq for DocumentOrgAbbreviationOverride
Source§fn eq(&self, other: &DocumentOrgAbbreviationOverride) -> bool
fn eq(&self, other: &DocumentOrgAbbreviationOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentOrgAbbreviationOverride
Auto Trait Implementations§
impl Freeze for DocumentOrgAbbreviationOverride
impl RefUnwindSafe for DocumentOrgAbbreviationOverride
impl Send for DocumentOrgAbbreviationOverride
impl Sync for DocumentOrgAbbreviationOverride
impl Unpin for DocumentOrgAbbreviationOverride
impl UnsafeUnpin for DocumentOrgAbbreviationOverride
impl UnwindSafe for DocumentOrgAbbreviationOverride
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