pub struct CodebaseIndex {
pub schema_version: String,
pub build: IndexBuild,
pub packages: Vec<PackageRecord>,
pub traceability: Traceability,
pub diagnostics: Diagnostics,
}Expand description
The compiled codebase index: index.json.
Fields§
§schema_version: StringMAJOR.MINOR.PATCH; see crate::version::INDEX_SCHEMA_VERSION.
build: IndexBuild§packages: Vec<PackageRecord>Layer 1: the discovered compilation units.
traceability: TraceabilityLayer 2: spec ↔ code traceability.
diagnostics: DiagnosticsTrait Implementations§
Source§impl Clone for CodebaseIndex
impl Clone for CodebaseIndex
Source§fn clone(&self) -> CodebaseIndex
fn clone(&self) -> CodebaseIndex
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 CodebaseIndex
impl Debug for CodebaseIndex
Source§impl<'de> Deserialize<'de> for CodebaseIndex
impl<'de> Deserialize<'de> for CodebaseIndex
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 CodebaseIndex
impl PartialEq for CodebaseIndex
Source§fn eq(&self, other: &CodebaseIndex) -> bool
fn eq(&self, other: &CodebaseIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodebaseIndex
impl Serialize for CodebaseIndex
impl StructuralPartialEq for CodebaseIndex
Auto Trait Implementations§
impl Freeze for CodebaseIndex
impl RefUnwindSafe for CodebaseIndex
impl Send for CodebaseIndex
impl Sync for CodebaseIndex
impl Unpin for CodebaseIndex
impl UnsafeUnpin for CodebaseIndex
impl UnwindSafe for CodebaseIndex
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