pub struct InterpretResult {
pub summary: String,
pub diff_count: u32,
pub total_regions: usize,
pub regions: Vec<ChangeRegion>,
pub severity: ChangeSeverity,
pub diff_percentage: f64,
pub width: u32,
pub height: u32,
}Fields§
§summary: String§diff_count: u32§total_regions: usize§regions: Vec<ChangeRegion>§severity: ChangeSeverity§diff_percentage: f64§width: u32§height: u32Trait Implementations§
Source§impl Clone for InterpretResult
impl Clone for InterpretResult
Source§fn clone(&self) -> InterpretResult
fn clone(&self) -> InterpretResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InterpretResult
impl Debug for InterpretResult
Source§impl<'de> Deserialize<'de> for InterpretResult
impl<'de> Deserialize<'de> for InterpretResult
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
Source§impl PartialEq for InterpretResult
impl PartialEq for InterpretResult
Source§impl Serialize for InterpretResult
impl Serialize for InterpretResult
impl StructuralPartialEq for InterpretResult
Auto Trait Implementations§
impl Freeze for InterpretResult
impl RefUnwindSafe for InterpretResult
impl Send for InterpretResult
impl Sync for InterpretResult
impl Unpin for InterpretResult
impl UnsafeUnpin for InterpretResult
impl UnwindSafe for InterpretResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more