pub struct CodeIndexBatch {Show 13 fields
pub repository_id: String,
pub source_scope: String,
pub batch_index: usize,
pub parsed_byte_count: usize,
pub files: Vec<RepositoryCodeFileRecord>,
pub symbols: Vec<RepositoryCodeSymbolRecord>,
pub references: Vec<RepositoryCodeReferenceRecord>,
pub imports: Vec<CodeImportRecord>,
pub dependencies: Vec<CodeDependencyRecord>,
pub feature_flags: Vec<CodeFeatureFlagRecord>,
pub routes: Vec<CodeRouteRecord>,
pub chunks: Vec<RepositoryCodeChunkRecord>,
pub diagnostics: Vec<CodeFileDiagnostic>,
}Expand description
One bounded parse result committed under a checkpointed index session.
Fields§
§repository_id: String§source_scope: String§batch_index: usize§parsed_byte_count: usize§files: Vec<RepositoryCodeFileRecord>§symbols: Vec<RepositoryCodeSymbolRecord>§references: Vec<RepositoryCodeReferenceRecord>§imports: Vec<CodeImportRecord>§dependencies: Vec<CodeDependencyRecord>§feature_flags: Vec<CodeFeatureFlagRecord>§routes: Vec<CodeRouteRecord>§chunks: Vec<RepositoryCodeChunkRecord>§diagnostics: Vec<CodeFileDiagnostic>Implementations§
Trait Implementations§
Source§impl Clone for CodeIndexBatch
impl Clone for CodeIndexBatch
Source§fn clone(&self) -> CodeIndexBatch
fn clone(&self) -> CodeIndexBatch
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 CodeIndexBatch
impl Debug for CodeIndexBatch
Source§impl<'de> Deserialize<'de> for CodeIndexBatch
impl<'de> Deserialize<'de> for CodeIndexBatch
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
impl Eq for CodeIndexBatch
Source§impl PartialEq for CodeIndexBatch
impl PartialEq for CodeIndexBatch
Source§fn eq(&self, other: &CodeIndexBatch) -> bool
fn eq(&self, other: &CodeIndexBatch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeIndexBatch
impl Serialize for CodeIndexBatch
impl StructuralPartialEq for CodeIndexBatch
Auto Trait Implementations§
impl Freeze for CodeIndexBatch
impl RefUnwindSafe for CodeIndexBatch
impl Send for CodeIndexBatch
impl Sync for CodeIndexBatch
impl Unpin for CodeIndexBatch
impl UnsafeUnpin for CodeIndexBatch
impl UnwindSafe for CodeIndexBatch
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.