pub struct CodeIndexSnapshot {Show 25 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 dependencies: Vec<CodeDependencyRecord>,
pub feature_flags: Vec<CodeFeatureFlagRecord>,
pub framework_nodes: Vec<CodeFrameworkNodeRecord>,
pub framework_edges: Vec<CodeFrameworkEdgeRecord>,
pub routes: Vec<CodeRouteRecord>,
pub chunks: Vec<RepositoryCodeChunkRecord>,
pub workspaces: Vec<CodeMonorepoWorkspace>,
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>§dependencies: Vec<CodeDependencyRecord>§feature_flags: Vec<CodeFeatureFlagRecord>§framework_nodes: Vec<CodeFrameworkNodeRecord>§framework_edges: Vec<CodeFrameworkEdgeRecord>§routes: Vec<CodeRouteRecord>§chunks: Vec<RepositoryCodeChunkRecord>§workspaces: Vec<CodeMonorepoWorkspace>§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
impl Eq for CodeIndexSnapshot
Source§impl PartialEq for CodeIndexSnapshot
impl PartialEq for CodeIndexSnapshot
Source§impl Serialize for CodeIndexSnapshot
impl Serialize 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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.