pub struct SymbolRow {
pub name: String,
pub kind: String,
pub language: String,
pub file: String,
pub line: i64,
pub parent: Option<String>,
pub repository_id: i64,
pub repo_identity: String,
pub mtime: Option<i64>,
pub git_ts: Option<i64>,
}Expand description
A symbol as returned by search candidate queries (joined with its file and repository for display and ranking).
Fields§
§name: String§kind: String§language: String§file: String§line: i64§parent: Option<String>§repository_id: i64§repo_identity: String§mtime: Option<i64>File mtime (unix seconds) — a recency signal.
git_ts: Option<i64>Last git commit time touching the file — the stronger recency signal.
Trait Implementations§
impl Eq for SymbolRow
impl StructuralPartialEq for SymbolRow
Auto Trait Implementations§
impl Freeze for SymbolRow
impl RefUnwindSafe for SymbolRow
impl Send for SymbolRow
impl Sync for SymbolRow
impl Unpin for SymbolRow
impl UnsafeUnpin for SymbolRow
impl UnwindSafe for SymbolRow
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