pub struct ResponsibilityCluster {
pub suggested_name: Arc<str>,
pub methods: Arc<[Arc<str>]>,
pub cohesion_score: f64,
pub shared_dependencies: Arc<[Arc<str>]>,
pub justification: Arc<str>,
}Expand description
Represents a cluster of methods with shared responsibility
Fields§
§suggested_name: Arc<str>§methods: Arc<[Arc<str>]>§cohesion_score: f64§justification: Arc<str>Trait Implementations§
Source§impl Clone for ResponsibilityCluster
impl Clone for ResponsibilityCluster
Source§fn clone(&self) -> ResponsibilityCluster
fn clone(&self) -> ResponsibilityCluster
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 ResponsibilityCluster
impl Debug for ResponsibilityCluster
Source§impl<'de> Deserialize<'de> for ResponsibilityCluster
impl<'de> Deserialize<'de> for ResponsibilityCluster
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 ResponsibilityCluster
impl RefUnwindSafe for ResponsibilityCluster
impl Send for ResponsibilityCluster
impl Sync for ResponsibilityCluster
impl Unpin for ResponsibilityCluster
impl UnwindSafe for ResponsibilityCluster
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