pub struct Prepared {
pub written: CommandResult,
pub report: InitReport,
pub root: PathBuf,
pub to_commit: Vec<String>,
pub failed: Vec<String>,
}Expand description
init written and its checks run on the untouched code: what a person
then decides to commit.
Fields§
§written: CommandResultinit’s own result.
report: InitReportIts report, with the checks’ runs.
root: PathBufThe project root the file was written in.
to_commit: Vec<String>Everything the checks need committed: the file, and the nextest profile it names when that is not committed yet.
failed: Vec<String>Checks that fail on the untouched code.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnsafeUnpin for Prepared
impl UnwindSafe for Prepared
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