pub struct FileSymbols {
pub path: String,
pub language: String,
pub mtime: Option<i64>,
pub content_hash: String,
pub symbols: Vec<Symbol>,
}Expand description
A parsed file ready to persist — the unit the indexer produces (in parallel)
and Store::replace_files writes in one batched transaction.
Fields§
§path: String§language: String§mtime: Option<i64>§content_hash: String§symbols: Vec<Symbol>Trait Implementations§
Source§impl Clone for FileSymbols
impl Clone for FileSymbols
Source§fn clone(&self) -> FileSymbols
fn clone(&self) -> FileSymbols
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 moreAuto Trait Implementations§
impl Freeze for FileSymbols
impl RefUnwindSafe for FileSymbols
impl Send for FileSymbols
impl Sync for FileSymbols
impl Unpin for FileSymbols
impl UnsafeUnpin for FileSymbols
impl UnwindSafe for FileSymbols
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