pub struct SoftwareRelationship {Show 15 fields
pub relationship_id: String,
pub repository_id: String,
pub source_scope: String,
pub relationship_kind: String,
pub source_id: String,
pub source_kind: String,
pub target_id: String,
pub target_kind: String,
pub target_hint: Option<String>,
pub resolution_state: String,
pub confidence_basis_points: u16,
pub confidence_tier: String,
pub evidence_path: String,
pub evidence_line_range: RepositoryCodeRange,
pub created_graph_version: GraphVersion,
}Expand description
Cross-domain relationship between projected software files, topics, components, and usages.
Fields§
§relationship_id: String§repository_id: String§source_scope: String§relationship_kind: String§source_id: String§source_kind: String§target_id: String§target_kind: String§target_hint: Option<String>§resolution_state: String§confidence_basis_points: u16§confidence_tier: String§evidence_path: String§evidence_line_range: RepositoryCodeRange§created_graph_version: GraphVersionImplementations§
Source§impl SoftwareRelationship
impl SoftwareRelationship
Sourcepub fn new(input: SoftwareRelationshipInput) -> Result<Self, DomainError>
pub fn new(input: SoftwareRelationshipInput) -> Result<Self, DomainError>
Creates a validated projected relationship without upgrading unresolved targets.
Trait Implementations§
Source§impl Clone for SoftwareRelationship
impl Clone for SoftwareRelationship
Source§fn clone(&self) -> SoftwareRelationship
fn clone(&self) -> SoftwareRelationship
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 SoftwareRelationship
impl Debug for SoftwareRelationship
Source§impl<'de> Deserialize<'de> for SoftwareRelationship
impl<'de> Deserialize<'de> for SoftwareRelationship
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 SoftwareRelationship
impl PartialEq for SoftwareRelationship
Source§fn eq(&self, other: &SoftwareRelationship) -> bool
fn eq(&self, other: &SoftwareRelationship) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SoftwareRelationship
impl Serialize for SoftwareRelationship
impl Eq for SoftwareRelationship
impl StructuralPartialEq for SoftwareRelationship
Auto Trait Implementations§
impl Freeze for SoftwareRelationship
impl RefUnwindSafe for SoftwareRelationship
impl Send for SoftwareRelationship
impl Sync for SoftwareRelationship
impl Unpin for SoftwareRelationship
impl UnsafeUnpin for SoftwareRelationship
impl UnwindSafe for SoftwareRelationship
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§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.