pub struct SeedFile {
pub path: &'static str,
pub content: &'static str,
}Expand description
A file to seed into the repo before the scenario starts.
Fields§
§path: &'static strPath relative to workspace root (e.g., “src/main.rs”).
content: &'static strFile contents.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SeedFile
impl RefUnwindSafe for SeedFile
impl Send for SeedFile
impl Sync for SeedFile
impl Unpin for SeedFile
impl UnsafeUnpin for SeedFile
impl UnwindSafe for SeedFile
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