pub struct ProjectDrift {
pub repository: PathBuf,
pub project: String,
pub adapter: &'static str,
pub report: DriftReport,
}Expand description
One project’s lockfile drift, located: which repository, which project inside it, which adapter found it, and what it found.
Fields§
§repository: PathBufThe registered repository the project lives in.
project: StringProject path relative to the repository root, /-separated; "." is the root.
adapter: &'static strThe adapter that made the comparison.
report: DriftReportThe drifted directory, the unrecorded packages, and the command that records them.
Auto Trait Implementations§
impl Freeze for ProjectDrift
impl RefUnwindSafe for ProjectDrift
impl Send for ProjectDrift
impl Sync for ProjectDrift
impl Unpin for ProjectDrift
impl UnsafeUnpin for ProjectDrift
impl UnwindSafe for ProjectDrift
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more