pub struct CodeFileFields {
pub source_scope: SourceScope,
pub path: String,
pub content_hash: String,
pub language_id: String,
pub parse_status: CodeParseStatus,
pub diagnostic: Option<String>,
pub symbols: Vec<CodeSymbolRecord>,
pub references: Vec<CodeReferenceRecord>,
pub chunks: Vec<CodeChunkRecord>,
}Expand description
Input fields for one parsed repository file.
Fields§
§source_scope: SourceScope§path: String§content_hash: String§language_id: String§parse_status: CodeParseStatus§diagnostic: Option<String>§symbols: Vec<CodeSymbolRecord>§references: Vec<CodeReferenceRecord>§chunks: Vec<CodeChunkRecord>Trait Implementations§
Source§impl Clone for CodeFileFields
impl Clone for CodeFileFields
Source§fn clone(&self) -> CodeFileFields
fn clone(&self) -> CodeFileFields
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 CodeFileFields
impl Debug for CodeFileFields
Source§impl PartialEq for CodeFileFields
impl PartialEq for CodeFileFields
Source§fn eq(&self, other: &CodeFileFields) -> bool
fn eq(&self, other: &CodeFileFields) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CodeFileFields
impl StructuralPartialEq for CodeFileFields
Auto Trait Implementations§
impl Freeze for CodeFileFields
impl RefUnwindSafe for CodeFileFields
impl Send for CodeFileFields
impl Sync for CodeFileFields
impl Unpin for CodeFileFields
impl UnsafeUnpin for CodeFileFields
impl UnwindSafe for CodeFileFields
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