pub struct SpecFile {
pub file: String,
pub path: PathBuf,
pub header: Arc<Vec<String>>,
pub rows: Vec<Row>,
}Expand description
A loaded fixture file.
Fields§
§file: StringBase name (happy.tsv).
path: PathBufPath it was read from (empty when parsed from text).
header: Arc<Vec<String>>Column names, empty when header is off.
rows: Vec<Row>Data rows, in file order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpecFile
impl RefUnwindSafe for SpecFile
impl Send for SpecFile
impl Sync for SpecFile
impl Unpin for SpecFile
impl UnsafeUnpin for SpecFile
impl UnwindSafe for SpecFile
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