pub struct DocumentSortPartitioningOverride {
pub by: Option<BibliographyPartitionKind>,
pub mode: Option<BibliographyPartitionMode>,
pub order: Vec<String>,
pub headings: HashMap<String, BibliographyPartitionHeading>,
}Expand description
Sparse per-document sort-partitioning overlay.
Absent fields inherit the style’s existing sort-partitioning values.
When by is absent and the style has no sort-partitioning configured,
the override is a no-op.
Fields§
§by: Option<BibliographyPartitionKind>Partition key source. Required when no style-level partitioning exists.
mode: Option<BibliographyPartitionMode>Whether partitioning affects sorting, visible sections, or both.
order: Vec<String>Preferred partition order. Unlisted partitions sort after listed ones.
headings: HashMap<String, BibliographyPartitionHeading>Optional headings for visible partition sections.
Trait Implementations§
Source§impl Clone for DocumentSortPartitioningOverride
impl Clone for DocumentSortPartitioningOverride
Source§fn clone(&self) -> DocumentSortPartitioningOverride
fn clone(&self) -> DocumentSortPartitioningOverride
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 DocumentSortPartitioningOverride
impl Default for DocumentSortPartitioningOverride
Source§fn default() -> DocumentSortPartitioningOverride
fn default() -> DocumentSortPartitioningOverride
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentSortPartitioningOverride
impl<'de> Deserialize<'de> for DocumentSortPartitioningOverride
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 DocumentSortPartitioningOverride
impl PartialEq for DocumentSortPartitioningOverride
Source§fn eq(&self, other: &DocumentSortPartitioningOverride) -> bool
fn eq(&self, other: &DocumentSortPartitioningOverride) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentSortPartitioningOverride
Auto Trait Implementations§
impl Freeze for DocumentSortPartitioningOverride
impl RefUnwindSafe for DocumentSortPartitioningOverride
impl Send for DocumentSortPartitioningOverride
impl Sync for DocumentSortPartitioningOverride
impl Unpin for DocumentSortPartitioningOverride
impl UnsafeUnpin for DocumentSortPartitioningOverride
impl UnwindSafe for DocumentSortPartitioningOverride
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