pub struct ImpactItem {
pub node: Node,
pub classification: ImpactClassification,
pub depth: usize,
pub path: Vec<ImpactPathStep>,
pub evidence: Vec<EvidenceId>,
}Expand description
One deterministically selected affected graph entity.
Fields§
§node: NodeAffected node.
classification: ImpactClassificationConservative impact classification.
depth: usizeNumber of graph relationships from the target.
path: Vec<ImpactPathStep>Deterministic shortest and strongest path selected for this node.
evidence: Vec<EvidenceId>Sorted evidence identifiers supporting the selected path.
Trait Implementations§
Source§impl Clone for ImpactItem
impl Clone for ImpactItem
Source§fn clone(&self) -> ImpactItem
fn clone(&self) -> ImpactItem
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 ImpactItem
impl Debug for ImpactItem
Source§impl<'de> Deserialize<'de> for ImpactItem
impl<'de> Deserialize<'de> for ImpactItem
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 JsonSchema for ImpactItem
impl JsonSchema for ImpactItem
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ImpactItem
impl PartialEq for ImpactItem
Source§impl Serialize for ImpactItem
impl Serialize for ImpactItem
impl StructuralPartialEq for ImpactItem
Auto Trait Implementations§
impl Freeze for ImpactItem
impl RefUnwindSafe for ImpactItem
impl Send for ImpactItem
impl Sync for ImpactItem
impl Unpin for ImpactItem
impl UnsafeUnpin for ImpactItem
impl UnwindSafe for ImpactItem
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