pub struct SplitComparison {
pub name: String,
pub group_1: Vec<String>,
pub group_2: Vec<String>,
pub description: String,
pub compression_estimation_group_1: Option<CompressionEstimationParams>,
pub compression_estimation_group_2: Option<CompressionEstimationParams>,
}
Expand description
Configuration for comparing field groups
Fields§
§name: String
Friendly name for this comparison.
group_1: Vec<String>
First group path to compare. This is the ‘baseline’.
group_2: Vec<String>
Second group path to compare. This is the group compared against the baseline (group_1).
description: String
Optional description of the comparison
compression_estimation_group_1: Option<CompressionEstimationParams>
Compression estimation parameters for group 1
compression_estimation_group_2: Option<CompressionEstimationParams>
Compression estimation parameters for group 2
Trait Implementations§
Source§impl Debug for SplitComparison
impl Debug for SplitComparison
Source§impl<'de> Deserialize<'de> for SplitComparison
impl<'de> Deserialize<'de> for SplitComparison
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 SplitComparison
impl RefUnwindSafe for SplitComparison
impl Send for SplitComparison
impl Sync for SplitComparison
impl Unpin for SplitComparison
impl UnwindSafe for SplitComparison
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