pub struct ComponentChange {
pub id: ComponentId,
pub old: Component,
pub new: Component,
pub changes: Vec<FieldChange>,
}Expand description
A component that exists in both SBOMs with detected changes.
Fields§
§id: ComponentIdThe component identifier (from the new SBOM).
old: ComponentThe component as it appeared in the old SBOM.
new: ComponentThe component as it appears in the new SBOM.
changes: Vec<FieldChange>List of specific field changes detected.
Trait Implementations§
Source§impl Clone for ComponentChange
impl Clone for ComponentChange
Source§fn clone(&self) -> ComponentChange
fn clone(&self) -> ComponentChange
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 ComponentChange
impl Debug for ComponentChange
Source§impl<'de> Deserialize<'de> for ComponentChange
impl<'de> Deserialize<'de> for ComponentChange
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 ComponentChange
impl RefUnwindSafe for ComponentChange
impl Send for ComponentChange
impl Sync for ComponentChange
impl Unpin for ComponentChange
impl UnwindSafe for ComponentChange
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