pub struct CodeIndexSnapshot {Show 19 fields
pub repository_id: String,
pub source_scope: String,
pub base_resolved_commit_sha: Option<String>,
pub resolved_commit_sha: String,
pub tree_hash: String,
pub path_filters: Vec<String>,
pub language_filters: Vec<String>,
pub full_replace: bool,
pub changed_path_count: usize,
pub skipped_unchanged_count: usize,
pub deleted_paths: Vec<String>,
pub tombstones: Vec<CodePathTombstone>,
pub files: Vec<RepositoryCodeFileRecord>,
pub symbols: Vec<RepositoryCodeSymbolRecord>,
pub references: Vec<RepositoryCodeReferenceRecord>,
pub imports: Vec<CodeImportRecord>,
pub calls: Vec<CodeCallRecord>,
pub chunks: Vec<RepositoryCodeChunkRecord>,
pub diagnostics: Vec<CodeFileDiagnostic>,
}Expand description
Parsed index changes ready to commit into storage.
Fields§
§repository_id: String§source_scope: String§base_resolved_commit_sha: Option<String>§resolved_commit_sha: String§tree_hash: String§path_filters: Vec<String>§language_filters: Vec<String>§full_replace: bool§changed_path_count: usize§skipped_unchanged_count: usize§deleted_paths: Vec<String>§tombstones: Vec<CodePathTombstone>§files: Vec<RepositoryCodeFileRecord>§symbols: Vec<RepositoryCodeSymbolRecord>§references: Vec<RepositoryCodeReferenceRecord>§imports: Vec<CodeImportRecord>§calls: Vec<CodeCallRecord>§chunks: Vec<RepositoryCodeChunkRecord>§diagnostics: Vec<CodeFileDiagnostic>Trait Implementations§
Source§impl Clone for CodeIndexSnapshot
impl Clone for CodeIndexSnapshot
Source§fn clone(&self) -> CodeIndexSnapshot
fn clone(&self) -> CodeIndexSnapshot
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 CodeIndexSnapshot
impl Debug for CodeIndexSnapshot
Source§impl<'de> Deserialize<'de> for CodeIndexSnapshot
impl<'de> Deserialize<'de> for CodeIndexSnapshot
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 CodeIndexSnapshot
impl PartialEq for CodeIndexSnapshot
Source§fn eq(&self, other: &CodeIndexSnapshot) -> bool
fn eq(&self, other: &CodeIndexSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeIndexSnapshot
impl Serialize for CodeIndexSnapshot
impl Eq for CodeIndexSnapshot
impl StructuralPartialEq for CodeIndexSnapshot
Auto Trait Implementations§
impl Freeze for CodeIndexSnapshot
impl RefUnwindSafe for CodeIndexSnapshot
impl Send for CodeIndexSnapshot
impl Sync for CodeIndexSnapshot
impl Unpin for CodeIndexSnapshot
impl UnsafeUnpin for CodeIndexSnapshot
impl UnwindSafe for CodeIndexSnapshot
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