pub struct ExplanationNameBinding {
pub name_index: u32,
pub occurrences: Vec<ExplanationOccurrence>,
}Expand description
One ordinary name binding, independent of whether that name matched a query.
Fields§
§name_index: u32Index into this response’s entry.names (never an absent entry).
occurrences: Vec<ExplanationOccurrence>Validated source occurrences projected into the returned payload.
Trait Implementations§
Source§impl Clone for ExplanationNameBinding
impl Clone for ExplanationNameBinding
Source§fn clone(&self) -> ExplanationNameBinding
fn clone(&self) -> ExplanationNameBinding
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 ExplanationNameBinding
impl Debug for ExplanationNameBinding
Source§impl<'de> Deserialize<'de> for ExplanationNameBinding
impl<'de> Deserialize<'de> for ExplanationNameBinding
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 ExplanationNameBinding
Source§impl JsonSchema for ExplanationNameBinding
impl JsonSchema for ExplanationNameBinding
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 ExplanationNameBinding
impl PartialEq for ExplanationNameBinding
Source§impl Serialize for ExplanationNameBinding
impl Serialize for ExplanationNameBinding
impl StructuralPartialEq for ExplanationNameBinding
Auto Trait Implementations§
impl Freeze for ExplanationNameBinding
impl RefUnwindSafe for ExplanationNameBinding
impl Send for ExplanationNameBinding
impl Sync for ExplanationNameBinding
impl Unpin for ExplanationNameBinding
impl UnsafeUnpin for ExplanationNameBinding
impl UnwindSafe for ExplanationNameBinding
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