pub struct ResolvedSymbol {
pub local_id: Option<String>,
pub name: String,
pub qualified_name: Option<String>,
pub kind: String,
pub file_path: String,
pub start_line: usize,
pub score: Option<f64>,
}Expand description
Exact local symbol returned by a compatible provider contract.
Fields§
§local_id: Option<String>Local provider symbol identifier; never treated as a global identity.
name: StringUnqualified symbol name.
qualified_name: Option<String>Provider-qualified symbol name when available.
kind: StringProvider node kind.
file_path: StringRepository-relative source path.
start_line: usizeOne-based source start line.
score: Option<f64>Provider ranking score when available.
Trait Implementations§
Source§impl Clone for ResolvedSymbol
impl Clone for ResolvedSymbol
Source§impl Debug for ResolvedSymbol
impl Debug for ResolvedSymbol
Source§impl<'de> Deserialize<'de> for ResolvedSymbol
impl<'de> Deserialize<'de> for ResolvedSymbol
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 ResolvedSymbol
impl JsonSchema for ResolvedSymbol
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 ResolvedSymbol
impl PartialEq for ResolvedSymbol
Source§impl Serialize for ResolvedSymbol
impl Serialize for ResolvedSymbol
impl StructuralPartialEq for ResolvedSymbol
Auto Trait Implementations§
impl Freeze for ResolvedSymbol
impl RefUnwindSafe for ResolvedSymbol
impl Send for ResolvedSymbol
impl Sync for ResolvedSymbol
impl Unpin for ResolvedSymbol
impl UnsafeUnpin for ResolvedSymbol
impl UnwindSafe for ResolvedSymbol
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