pub struct ListValidationConfig {Show 13 fields
pub enabled: bool,
pub minimum_size_check: bool,
pub first_item_validation: bool,
pub parenthetical_context_check: bool,
pub sequential_numbering_check: bool,
pub mathematical_context_check: bool,
pub hyphen_context_check: bool,
pub sequential_numbering: SequentialNumberingConfig,
pub mathematical_context: MathematicalContextConfig,
pub hyphen_context: HyphenContextConfig,
pub sequence_pattern_check: bool,
pub content_quality_check: bool,
pub spatial_coherence_check: bool,
}Fields§
§enabled: boolWhether list validation is enabled
minimum_size_check: boolMinimum number of items required for a valid list
first_item_validation: boolValidate that numbered lists start with “1” (or equivalent first item)
parenthetical_context_check: boolIf using parenthetical numbering (n), must start with (1)
sequential_numbering_check: bool§mathematical_context_check: bool§hyphen_context_check: bool§sequential_numbering: SequentialNumberingConfig§mathematical_context: MathematicalContextConfig§hyphen_context: HyphenContextConfig§sequence_pattern_check: bool§content_quality_check: bool§spatial_coherence_check: boolTrait Implementations§
Source§impl Clone for ListValidationConfig
impl Clone for ListValidationConfig
Source§fn clone(&self) -> ListValidationConfig
fn clone(&self) -> ListValidationConfig
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 ListValidationConfig
impl Debug for ListValidationConfig
Source§impl Default for ListValidationConfig
impl Default for ListValidationConfig
Source§fn default() -> ListValidationConfig
fn default() -> ListValidationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListValidationConfig
impl<'de> Deserialize<'de> for ListValidationConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListValidationConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListValidationConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ListValidationConfig
impl Serialize for ListValidationConfig
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
Auto Trait Implementations§
impl Freeze for ListValidationConfig
impl RefUnwindSafe for ListValidationConfig
impl Send for ListValidationConfig
impl Sync for ListValidationConfig
impl Unpin for ListValidationConfig
impl UnsafeUnpin for ListValidationConfig
impl UnwindSafe for ListValidationConfig
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