pub struct JourneyFixture {
pub name: &'static str,
pub corpus: &'static [(&'static str, &'static str)],
}Expand description
One journey’s synthetic input: the named corpus files a driver writes to a tempdir before import.
The SAME fixture seeds both walkthrough capture halves (the editor emit test drives its flows; the
viewer emit test re-seeds this corpus and replays the equivalent decisions via btctax-cli), so the
two halves of a journey converge by construction on one source of truth (walkthrough spec §4.2).
Fields§
§name: &'static strShort journey id, e.g. "j8".
corpus: &'static [(&'static str, &'static str)](filename, CRLF content) pairs written to the tempdir before ingest.
Auto Trait Implementations§
impl Freeze for JourneyFixture
impl RefUnwindSafe for JourneyFixture
impl Send for JourneyFixture
impl Sync for JourneyFixture
impl Unpin for JourneyFixture
impl UnsafeUnpin for JourneyFixture
impl UnwindSafe for JourneyFixture
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