#[non_exhaustive]pub struct Difference {
pub field: CitedField,
pub actual: Option<String>,
}Expand description
A cited field the work disagrees with, and the work’s value if it’s worth showing.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.field: CitedField§actual: Option<String>Trait Implementations§
Source§impl Clone for Difference
impl Clone for Difference
Source§impl Debug for Difference
impl Debug for Difference
Source§impl Display for Difference
impl Display for Difference
impl Eq for Difference
Source§impl PartialEq for Difference
impl PartialEq for Difference
impl StructuralPartialEq for Difference
Auto Trait Implementations§
impl Forget for Difference
impl Freeze for Difference
impl Move for Difference
impl RefUnwindSafe for Difference
impl Send for Difference
impl Sync for Difference
impl Unpin for Difference
impl UnsafeUnpin for Difference
impl UnwindSafe for Difference
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