pub struct LockfileHit {
pub version: String,
pub source: String,
pub exact: bool,
}Expand description
A resolved dependency version plus provenance.
Fields§
§version: StringThe resolved version (exact pin if exact, otherwise a range).
source: StringProvenance label, e.g. "bun.lock", "package.json".
exact: boolTrue when read from a lockfile, false when read from a manifest range.
Trait Implementations§
Source§impl Clone for LockfileHit
impl Clone for LockfileHit
Source§impl Debug for LockfileHit
impl Debug for LockfileHit
impl Eq for LockfileHit
Source§impl PartialEq for LockfileHit
impl PartialEq for LockfileHit
impl StructuralPartialEq for LockfileHit
Auto Trait Implementations§
impl Forget for LockfileHit
impl Freeze for LockfileHit
impl Move for LockfileHit
impl RefUnwindSafe for LockfileHit
impl Send for LockfileHit
impl Sync for LockfileHit
impl Unpin for LockfileHit
impl UnsafeUnpin for LockfileHit
impl UnwindSafe for LockfileHit
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