pub struct Output {
pub path: PathBuf,
pub pending: Option<IndexSet<&'static str>>,
pub error: Option<Error>,
}
Expand description
Represents Crawler output
There are 3 possible scenarios:
- There are no pending states, so only
path
(to the repo) has a value - There are no pending states, and there is some error preventing the
repo from being inspected properly…
error
will haveSome
value - There are pending states…
pending
will haveSome
value
Fields§
§path: PathBuf
Repository path
pending: Option<IndexSet<&'static str>>
A list of pending actions
error: Option<Error>
Git-related error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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