#[non_exhaustive]pub struct AnalysisSettings {
pub pattern_locale: PatternLocale,
pub columns: ColumnSelection,
}Expand description
The analysis settings a report was profiled with that change what its scores measure on unchanged data and are recorded nowhere else in it.
MetricSemantics records how a release defines its measurements; this
records what the caller chose. The score weights live in the quality
assessment and the semantic hints in the hint bindings, so they are not
repeated here. Later releases add fields, which older readers ignore, and a
field missing from a stored report means the release did not record it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pattern_locale: PatternLocaleThe locale detected patterns were ranked with, which the validity score reads.
columns: ColumnSelectionThe columns the run profiled. A dataset-level score has the column set as its subject, and a report without a column’s profile needs this to tell a column the source lacks from one that was not selected.
Implementations§
Source§impl AnalysisSettings
impl AnalysisSettings
Sourcepub fn from_options(options: &AnalysisOptions) -> Self
pub fn from_options(options: &AnalysisOptions) -> Self
The settings options profile with.
Trait Implementations§
Source§impl Clone for AnalysisSettings
impl Clone for AnalysisSettings
Source§impl Debug for AnalysisSettings
impl Debug for AnalysisSettings
Source§impl<'de> Deserialize<'de> for AnalysisSettings
impl<'de> Deserialize<'de> for AnalysisSettings
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>,
impl Eq for AnalysisSettings
Source§impl JsonSchema for AnalysisSettings
impl JsonSchema for AnalysisSettings
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for AnalysisSettings
impl PartialEq for AnalysisSettings
Source§impl Serialize for AnalysisSettings
impl Serialize for AnalysisSettings
impl StructuralPartialEq for AnalysisSettings
Auto Trait Implementations§
impl Freeze for AnalysisSettings
impl RefUnwindSafe for AnalysisSettings
impl Send for AnalysisSettings
impl Sync for AnalysisSettings
impl Unpin for AnalysisSettings
impl UnsafeUnpin for AnalysisSettings
impl UnwindSafe for AnalysisSettings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.