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§fn clone(&self) -> ResolvedSymbol
fn clone(&self) -> ResolvedSymbol
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 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 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