pub struct Coupling {
pub path_a: PathBuf,
pub path_b: PathBuf,
pub cochange_count: usize,
pub strength: f32,
pub coupling_type: CouplingType,
}Expand description
A detected coupling between two file paths.
Fields§
§path_a: PathBufFirst file path.
path_b: PathBufSecond file path.
cochange_count: usizeNumber of commits where both files were changed.
strength: f32Coupling strength (0.0 to 1.0).
coupling_type: CouplingTypeThe type of coupling detected.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Coupling
impl<'de> Deserialize<'de> for Coupling
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 Coupling
impl RefUnwindSafe for Coupling
impl Send for Coupling
impl Sync for Coupling
impl Unpin for Coupling
impl UnsafeUnpin for Coupling
impl UnwindSafe for Coupling
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