pub enum FieldChange {
Version(String, String),
License(BTreeSet<String>, BTreeSet<String>),
Supplier(Option<String>, Option<String>),
Purl(Option<String>, Option<String>),
Hashes,
}Expand description
A specific field that changed between two versions of a component.
Variants§
Version(String, String)
Version changed: (old, new).
License(BTreeSet<String>, BTreeSet<String>)
Licenses changed: (old, new).
Supplier(Option<String>, Option<String>)
Supplier changed: (old, new).
Purl(Option<String>, Option<String>)
Package URL changed: (old, new).
Hashes
Hashes changed (details not tracked).
Trait Implementations§
Source§impl Clone for FieldChange
impl Clone for FieldChange
Source§fn clone(&self) -> FieldChange
fn clone(&self) -> FieldChange
Returns a duplicate of the value. Read more
1.0.0 · 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 FieldChange
impl Debug for FieldChange
Source§impl<'de> Deserialize<'de> for FieldChange
impl<'de> Deserialize<'de> for FieldChange
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
Source§impl PartialEq for FieldChange
impl PartialEq for FieldChange
Source§impl Serialize for FieldChange
impl Serialize for FieldChange
impl Eq for FieldChange
impl StructuralPartialEq for FieldChange
Auto Trait Implementations§
impl Freeze for FieldChange
impl RefUnwindSafe for FieldChange
impl Send for FieldChange
impl Sync for FieldChange
impl Unpin for FieldChange
impl UnwindSafe for FieldChange
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.