pub struct FileEntry {Show 25 fields
pub path: String,
pub lines: usize,
pub language: Language,
pub exports: Vec<String>,
pub imports: Vec<String>,
pub imported_by: Vec<String>,
pub module: Option<String>,
pub summary: Option<String>,
pub purpose: Option<String>,
pub owner: Option<String>,
pub inline: Vec<InlineAnnotation>,
pub domains: Vec<String>,
pub layer: Option<String>,
pub stability: Option<Stability>,
pub ai_hints: Vec<String>,
pub git: Option<GitFileInfo>,
pub annotations: HashMap<String, AnnotationProvenance>,
pub bridge: BridgeMetadata,
pub version: Option<String>,
pub since: Option<String>,
pub license: Option<String>,
pub author: Option<String>,
pub lifecycle: Option<LifecycleAnnotations>,
pub refs: Vec<RefEntry>,
pub style: Option<StyleEntry>,
}Expand description
@acp:summary “File entry with metadata (RFC-001 compliant)”
Fields§
§path: StringRelative path from project root (required)
lines: usizeLine count (required)
language: LanguageProgramming language identifier (required)
exports: Vec<String>Exported symbols (required)
imports: Vec<String>Imported modules (required)
imported_by: Vec<String>RFC-0015: Files that import this file (reverse import graph)
module: Option<String>Human-readable module name (optional)
summary: Option<String>Brief file description (optional)
purpose: Option<String>RFC-001: File purpose from @acp:purpose annotation
owner: Option<String>RFC-001: File owner from @acp:owner annotation
inline: Vec<InlineAnnotation>RFC-001: Inline annotations (hack, todo, fixme, critical, perf)
domains: Vec<String>Domain classifications (optional)
layer: Option<String>Architectural layer (optional)
stability: Option<Stability>Stability level (optional, null if not specified)
ai_hints: Vec<String>AI behavioral hints (e.g., “ai-careful”, “ai-readonly”)
git: Option<GitFileInfo>Git metadata (optional - last commit, author, contributors)
annotations: HashMap<String, AnnotationProvenance>RFC-0003: Annotation provenance tracking
bridge: BridgeMetadataRFC-0006: Bridge metadata for this file
version: Option<String>RFC-0009: File version (from @acp:version)
since: Option<String>RFC-0009: Version when introduced (from @acp:since)
license: Option<String>RFC-0009: File license (from @acp:license)
RFC-0009: File author (from @acp:author)
lifecycle: Option<LifecycleAnnotations>RFC-0009: Lifecycle status
refs: Vec<RefEntry>RFC-0002: Documentation references
style: Option<StyleEntry>RFC-0002: Style guide configuration
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileEntry
impl<'de> Deserialize<'de> for FileEntry
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>,
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnwindSafe for FileEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more