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 Forget for SpecFile
impl Freeze for SpecFile
impl Move for SpecFile
impl RefUnwindSafe for SpecFile
impl Send for SpecFile
impl Sync for SpecFile
impl Unpin for SpecFile
impl UnsafeUnpin for SpecFilewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<Vec<String>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<String>>>: UnsafeUnpin,
PhantomData<Row>: UnsafeUnpin,
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