pub struct LockfileDiff {
pub added: Vec<String>,
pub removed: Vec<String>,
pub changed: Vec<String>,
}Fields§
§added: Vec<String>Packages present in head but not base (name@version).
removed: Vec<String>Packages present in base but not head.
changed: Vec<String>Crates present in both but with a different set of versions
(name: v1 -> v2).
Trait Implementations§
Source§impl Clone for LockfileDiff
impl Clone for LockfileDiff
Source§fn clone(&self) -> LockfileDiff
fn clone(&self) -> LockfileDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockfileDiff
impl Debug for LockfileDiff
Source§impl<'de> Deserialize<'de> for LockfileDiff
impl<'de> Deserialize<'de> for LockfileDiff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockfileDiff
impl RefUnwindSafe for LockfileDiff
impl Send for LockfileDiff
impl Sync for LockfileDiff
impl Unpin for LockfileDiff
impl UnsafeUnpin for LockfileDiff
impl UnwindSafe for LockfileDiff
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