#[non_exhaustive]pub struct LockDiff {
pub header: Vec<FieldChange>,
pub added: Vec<LockedArtifact>,
pub removed: Vec<LockedArtifact>,
pub modified: Vec<ChangedArtifact>,
}Expand description
Differences between two locks. fetchedAt is ignored.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.header: Vec<FieldChange>Header fields that differ.
added: Vec<LockedArtifact>Entries only in the new lock.
removed: Vec<LockedArtifact>Entries only in the old lock.
modified: Vec<ChangedArtifact>Entries in both whose content differs.
Implementations§
Trait Implementations§
impl Eq for LockDiff
impl StructuralPartialEq for LockDiff
Auto Trait Implementations§
impl Forget for LockDiff
impl Freeze for LockDiff
impl Move for LockDiff
impl RefUnwindSafe for LockDiff
impl Send for LockDiff
impl Sync for LockDiff
impl Unpin for LockDiff
impl UnsafeUnpin for LockDiff
impl UnwindSafe for LockDiff
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