pub struct SemanticRelation {
pub source: String,
pub target: SemanticTarget,
pub kind: EdgeKind,
pub confidence: f64,
pub direction: Option<FlowDirection>,
pub operation: Option<String>,
pub condition: Option<String>,
pub async_boundary: Option<bool>,
pub provenance: Vec<EdgeProvenance>,
pub terminal_kind: Option<TerminalKind>,
}Fields§
§source: String§target: SemanticTarget§kind: EdgeKind§confidence: f64§direction: Option<FlowDirection>§operation: Option<String>§condition: Option<String>§async_boundary: Option<bool>§provenance: Vec<EdgeProvenance>§terminal_kind: Option<TerminalKind>Trait Implementations§
Source§impl Clone for SemanticRelation
impl Clone for SemanticRelation
Source§fn clone(&self) -> SemanticRelation
fn clone(&self) -> SemanticRelation
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 SemanticRelation
impl Debug for SemanticRelation
Source§impl<'de> Deserialize<'de> for SemanticRelation
impl<'de> Deserialize<'de> for SemanticRelation
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 SemanticRelation
impl PartialEq for SemanticRelation
Source§impl Serialize for SemanticRelation
impl Serialize for SemanticRelation
impl StructuralPartialEq for SemanticRelation
Auto Trait Implementations§
impl Freeze for SemanticRelation
impl RefUnwindSafe for SemanticRelation
impl Send for SemanticRelation
impl Sync for SemanticRelation
impl Unpin for SemanticRelation
impl UnsafeUnpin for SemanticRelation
impl UnwindSafe for SemanticRelation
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