pub struct Sort {
pub shorten_names: bool,
pub render_substitutions: bool,
pub template: Vec<SortSpec>,
}Expand description
Sorting configuration.
Specifies how bibliography entries are ordered.
Fields§
§shorten_names: boolWhether to shorten name lists for sorting the same as for display.
render_substitutions: boolWhether to apply the same name substitutions during sorting as during rendering.
template: Vec<SortSpec>Sort keys in order of application.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sort
impl<'de> Deserialize<'de> for Sort
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Sort, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Sort, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Sort
impl Serialize for Sort
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 Sort
Auto Trait Implementations§
impl Freeze for Sort
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnsafeUnpin for Sort
impl UnwindSafe for Sort
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