pub struct EdgeDiff {
pub parent: ComponentId,
pub added: BTreeSet<ComponentId>,
pub removed: BTreeSet<ComponentId>,
}Expand description
A dependency edge change for a single parent component.
Fields§
§parent: ComponentIdThe parent component whose dependencies changed.
added: BTreeSet<ComponentId>Dependencies added in the new SBOM.
removed: BTreeSet<ComponentId>Dependencies removed from the old SBOM.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeDiff
impl<'de> Deserialize<'de> for EdgeDiff
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 EdgeDiff
impl RefUnwindSafe for EdgeDiff
impl Send for EdgeDiff
impl Sync for EdgeDiff
impl Unpin for EdgeDiff
impl UnwindSafe for EdgeDiff
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