Struct havocompare::HTMLCompareConfig
source · Expand description
Plain text comparison config, also used for PDF
Fields§
§threshold: f64
Normalized Damerau-Levenshtein distance, 0.0 = bad, 1.0 = identity
ignore_lines: Option<Vec<String>>
Lines matching any of the given regex will be excluded from comparison
Trait Implementations§
source§impl Debug for HTMLCompareConfig
impl Debug for HTMLCompareConfig
source§impl Default for HTMLCompareConfig
impl Default for HTMLCompareConfig
source§impl<'de> Deserialize<'de> for HTMLCompareConfig
impl<'de> Deserialize<'de> for HTMLCompareConfig
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 JsonSchema for HTMLCompareConfig
impl JsonSchema for HTMLCompareConfig
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
impl RefUnwindSafe for HTMLCompareConfig
impl Send for HTMLCompareConfig
impl Sync for HTMLCompareConfig
impl Unpin for HTMLCompareConfig
impl UnwindSafe for HTMLCompareConfig
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.