pub struct ReferencesResult {
pub result: LocationsResult,
pub index_coverage: Option<IndexCoverage>,
}Expand description
Result of a references request: the locations plus an optional index-coverage note.
A separate type from LocationsResult so the note’s schema is paid for by one tool only.
Fields§
§result: LocationsResultThe locations found.
index_coverage: Option<IndexCoverage>Set only when locations is empty: what the routed server’s answer covers.
Omitted for a non-empty result.
Trait Implementations§
Source§impl Clone for ReferencesResult
impl Clone for ReferencesResult
Source§impl Debug for ReferencesResult
impl Debug for ReferencesResult
Source§impl<'de> Deserialize<'de> for ReferencesResult
impl<'de> Deserialize<'de> for ReferencesResult
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 ReferencesResult
impl JsonSchema for ReferencesResult
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 moreAuto Trait Implementations§
impl Freeze for ReferencesResult
impl RefUnwindSafe for ReferencesResult
impl Send for ReferencesResult
impl Sync for ReferencesResult
impl Unpin for ReferencesResult
impl UnsafeUnpin for ReferencesResult
impl UnwindSafe for ReferencesResult
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