#[non_exhaustive]pub struct DimensionChange {
pub dimension: QualityDimension,
pub score: ScoreChange,
}Expand description
One quality dimension’s change. Serialized as an entry of the
dimensions object, keyed by the dimension’s name.
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.dimension: QualityDimensionThe dimension.
score: ScoreChangeIts score on both sides.
Trait Implementations§
Source§impl Clone for DimensionChange
impl Clone for DimensionChange
Source§impl Debug for DimensionChange
impl Debug for DimensionChange
Source§impl PartialEq for DimensionChange
impl PartialEq for DimensionChange
impl StructuralPartialEq for DimensionChange
Auto Trait Implementations§
impl Freeze for DimensionChange
impl RefUnwindSafe for DimensionChange
impl Send for DimensionChange
impl Sync for DimensionChange
impl Unpin for DimensionChange
impl UnsafeUnpin for DimensionChange
impl UnwindSafe for DimensionChange
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