pub struct FileSpec {
pub path: PathBuf,
pub keep_columns: Vec<String>,
}Expand description
How one file goes into a bundle.
The allow-list is the caller’s, not this crate’s: the caller knows which columns their data may carry and this crate must not.
Fields§
§path: PathBufThe file to read.
keep_columns: Vec<String>The columns to keep, by exact name. Every other column is dropped and reported.
Trait Implementations§
impl Eq for FileSpec
impl StructuralPartialEq for FileSpec
Auto Trait Implementations§
impl Forget for FileSpec
impl Freeze for FileSpec
impl Move for FileSpec
impl RefUnwindSafe for FileSpec
impl Send for FileSpec
impl Sync for FileSpec
impl Unpin for FileSpec
impl UnsafeUnpin for FileSpec
impl UnwindSafe for FileSpec
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