pub struct CodeConcept {
pub name: String,
pub description: String,
pub implementations: Vec<ConceptImplementation>,
pub related: Vec<String>,
pub confidence: f64,
}Expand description
A semantic concept in the codebase.
Fields§
§name: StringConcept name.
description: StringDescription.
implementations: Vec<ConceptImplementation>Nodes that implement this concept.
Related concepts.
confidence: f64Confidence this concept exists.
Trait Implementations§
Source§impl Clone for CodeConcept
impl Clone for CodeConcept
Source§fn clone(&self) -> CodeConcept
fn clone(&self) -> CodeConcept
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 CodeConcept
impl Debug for CodeConcept
Source§impl<'de> Deserialize<'de> for CodeConcept
impl<'de> Deserialize<'de> for CodeConcept
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 CodeConcept
impl RefUnwindSafe for CodeConcept
impl Send for CodeConcept
impl Sync for CodeConcept
impl Unpin for CodeConcept
impl UnsafeUnpin for CodeConcept
impl UnwindSafe for CodeConcept
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