pub struct ModuleSplit {Show 17 fields
pub suggested_name: String,
pub methods_to_move: Vec<String>,
pub structs_to_move: Vec<String>,
pub responsibility: String,
pub estimated_lines: usize,
pub method_count: usize,
pub warning: Option<String>,
pub priority: Priority,
pub domain: String,
pub rationale: Option<String>,
pub method: SplitAnalysisMethod,
pub severity: Option<RecommendationSeverity>,
pub classification_evidence: Option<AggregatedClassification>,
pub representative_methods: Vec<String>,
pub fields_needed: Vec<String>,
pub trait_suggestion: Option<String>,
pub behavior_category: Option<String>,
}Fields§
§suggested_name: String§methods_to_move: Vec<String>§structs_to_move: Vec<String>§responsibility: String§estimated_lines: usize§method_count: usize§warning: Option<String>§priority: Priority§domain: StringSemantic domain this split represents
rationale: Option<String>Explanation of why this split was suggested
method: SplitAnalysisMethodAnalysis method that generated this split
severity: Option<RecommendationSeverity>Severity of this recommendation
classification_evidence: Option<AggregatedClassification>Multi-signal classification evidence for this split (spec 148)
representative_methods: Vec<String>Representative method names to show in recommendations (Spec 178)
fields_needed: Vec<String>Fields from original struct needed by this extracted module (Spec 178)
trait_suggestion: Option<String>Suggested trait extraction for this behavioral group (Spec 178)
behavior_category: Option<String>Behavioral category for this split (Spec 178)
Trait Implementations§
Source§impl Clone for ModuleSplit
impl Clone for ModuleSplit
Source§fn clone(&self) -> ModuleSplit
fn clone(&self) -> ModuleSplit
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 ModuleSplit
impl Debug for ModuleSplit
Source§impl<'de> Deserialize<'de> for ModuleSplit
impl<'de> Deserialize<'de> for ModuleSplit
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 ModuleSplit
impl RefUnwindSafe for ModuleSplit
impl Send for ModuleSplit
impl Sync for ModuleSplit
impl Unpin for ModuleSplit
impl UnwindSafe for ModuleSplit
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more