pub struct FafData {
pub faf_version: String,
pub project: Project,
pub ai_score: Option<String>,
pub ai_confidence: Option<String>,
pub ai_tldr: Option<HashMap<String, String>>,
pub instant_context: Option<InstantContext>,
pub context_quality: Option<ContextQuality>,
pub stack: Option<Stack>,
pub human_context: Option<HumanContext>,
pub preferences: Option<Preferences>,
pub state: Option<State>,
pub tags: Vec<String>,
}Expand description
A complete parsed .faf file — the root of the context document.
Fields§
§faf_version: StringThe .faf format version this file was written against (e.g. "2.5.0").
project: ProjectCore project identity (name, goal, language). Always present.
ai_score: Option<String>Cached AI-readiness score, if one was written by a generator.
ai_confidence: Option<String>Cached confidence band for the score, if present.
ai_tldr: Option<HashMap<String, String>>Short, AI-facing summary lines keyed by topic.
instant_context: Option<InstantContext>The fast-path context an assistant reads first (what/stack/files).
context_quality: Option<ContextQuality>Self-reported completeness metrics for the context.
stack: Option<Stack>The technical stack (frontend, backend, database, build, …).
human_context: Option<HumanContext>The human side — the 6 W’s (who/what/why/how/where/when).
preferences: Option<Preferences>Working preferences (quality bar, testing, docs, code style).
state: Option<State>Where the project is right now (phase, version, focus, milestones).
Free-form classification tags.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FafData
impl<'de> Deserialize<'de> for FafData
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
Auto Trait Implementations§
impl Freeze for FafData
impl RefUnwindSafe for FafData
impl Send for FafData
impl Sync for FafData
impl Unpin for FafData
impl UnsafeUnpin for FafData
impl UnwindSafe for FafData
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