pub struct CodeIndexBatch {
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 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>§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
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 Eq 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