pub struct CustomComparison {
pub name: String,
pub baseline: Vec<GroupComponent>,
pub comparisons: IndexMap<String, Vec<GroupComponent>>,
pub description: String,
}Expand description
Configuration for custom field group comparisons
Fields§
§name: StringUnique identifier for this comparison
baseline: Vec<GroupComponent>Baseline group definition
comparisons: IndexMap<String, Vec<GroupComponent>>Comparison group definitions with names
description: StringHuman-readable description
Trait Implementations§
Source§impl Debug for CustomComparison
impl Debug for CustomComparison
Source§impl<'de> Deserialize<'de> for CustomComparison
impl<'de> Deserialize<'de> for CustomComparison
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 CustomComparison
impl RefUnwindSafe for CustomComparison
impl Send for CustomComparison
impl Sync for CustomComparison
impl Unpin for CustomComparison
impl UnwindSafe for CustomComparison
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> 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