pub struct ModuleDiff {
pub module: String,
pub symbols_only_a: Vec<String>,
pub symbols_only_b: Vec<String>,
pub common_symbols: Vec<String>,
}Expand description
Diff of a single module between two codebases.
Fields§
§module: StringModule name or path.
symbols_only_a: Vec<String>Symbols in A but not B.
symbols_only_b: Vec<String>Symbols in B but not A.
common_symbols: Vec<String>Symbols present in both (possibly with different types/signatures).
Trait Implementations§
Source§impl Clone for ModuleDiff
impl Clone for ModuleDiff
Source§fn clone(&self) -> ModuleDiff
fn clone(&self) -> ModuleDiff
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 ModuleDiff
impl Debug for ModuleDiff
Source§impl<'de> Deserialize<'de> for ModuleDiff
impl<'de> Deserialize<'de> for ModuleDiff
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 ModuleDiff
impl RefUnwindSafe for ModuleDiff
impl Send for ModuleDiff
impl Sync for ModuleDiff
impl Unpin for ModuleDiff
impl UnsafeUnpin for ModuleDiff
impl UnwindSafe for ModuleDiff
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