pub struct ExplanationFormMatch {
pub source_form_index: u32,
pub text: String,
pub occurrences: Vec<ExplanationOccurrence>,
}Expand description
One complete authored form that actually matched during collection.
Fields§
§source_form_index: u32Snapshot-local ordinal in the original owner’s forms, not a durable ID or an index into an omitted/filtered response payload.
text: StringComplete authored visible text, with original spelling.
occurrences: Vec<ExplanationOccurrence>Complete positions in available returned targets.
Trait Implementations§
Source§impl Clone for ExplanationFormMatch
impl Clone for ExplanationFormMatch
Source§fn clone(&self) -> ExplanationFormMatch
fn clone(&self) -> ExplanationFormMatch
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 ExplanationFormMatch
impl Debug for ExplanationFormMatch
Source§impl<'de> Deserialize<'de> for ExplanationFormMatch
impl<'de> Deserialize<'de> for ExplanationFormMatch
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
impl Eq for ExplanationFormMatch
Source§impl JsonSchema for ExplanationFormMatch
impl JsonSchema for ExplanationFormMatch
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 ExplanationFormMatch
impl PartialEq for ExplanationFormMatch
Source§impl Serialize for ExplanationFormMatch
impl Serialize for ExplanationFormMatch
impl StructuralPartialEq for ExplanationFormMatch
Auto Trait Implementations§
impl Freeze for ExplanationFormMatch
impl RefUnwindSafe for ExplanationFormMatch
impl Send for ExplanationFormMatch
impl Sync for ExplanationFormMatch
impl Unpin for ExplanationFormMatch
impl UnsafeUnpin for ExplanationFormMatch
impl UnwindSafe for ExplanationFormMatch
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