pub enum SemanticProposal {
AssignLayer {
node_id: String,
layer: String,
reason: String,
confidence: f32,
},
UpgradeToComponent {
node_id: String,
component_name: String,
description: String,
confidence: f32,
},
AddFeature {
name: String,
description: String,
implementing_nodes: Vec<String>,
confidence: f32,
},
AddDescription {
node_id: String,
description: String,
confidence: f32,
},
GroupIntoModule {
module_name: String,
node_ids: Vec<String>,
confidence: f32,
},
}Expand description
A proposed semantic enhancement.
Variants§
AssignLayer
Assign a layer to a node
UpgradeToComponent
Upgrade a file node to a component
AddFeature
Add a feature node
AddDescription
Add description to a node
GroupIntoModule
Group nodes into a module
Trait Implementations§
Source§impl Clone for SemanticProposal
impl Clone for SemanticProposal
Source§fn clone(&self) -> SemanticProposal
fn clone(&self) -> SemanticProposal
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 SemanticProposal
impl Debug for SemanticProposal
Source§impl<'de> Deserialize<'de> for SemanticProposal
impl<'de> Deserialize<'de> for SemanticProposal
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 SemanticProposal
impl RefUnwindSafe for SemanticProposal
impl Send for SemanticProposal
impl Sync for SemanticProposal
impl Unpin for SemanticProposal
impl UnsafeUnpin for SemanticProposal
impl UnwindSafe for SemanticProposal
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