pub struct SimilarReport {
pub query: String,
pub compared: usize,
pub limited: bool,
pub matches: Vec<SimilarMatch>,
}Expand description
The similar payload: what was compared and what is close.
Fields§
§query: StringThe description, as given.
compared: usizeHow many requirements it was compared with.
limited: boolWhether the corpus was limited to the MAX_UNITS most recently
changed units.
matches: Vec<SimilarMatch>The close ones, the closest first.
Trait Implementations§
Source§impl Clone for SimilarReport
impl Clone for SimilarReport
Source§impl Debug for SimilarReport
impl Debug for SimilarReport
Source§impl<'de> Deserialize<'de> for SimilarReport
impl<'de> Deserialize<'de> for SimilarReport
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 SimilarReport
impl JsonSchema for SimilarReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SimilarReport
impl PartialEq for SimilarReport
Source§impl Serialize for SimilarReport
impl Serialize for SimilarReport
impl StructuralPartialEq for SimilarReport
Auto Trait Implementations§
impl Freeze for SimilarReport
impl RefUnwindSafe for SimilarReport
impl Send for SimilarReport
impl Sync for SimilarReport
impl Unpin for SimilarReport
impl UnsafeUnpin for SimilarReport
impl UnwindSafe for SimilarReport
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