pub struct MetricsSummary {Show 17 fields
pub level: f64,
pub in1_20: f64,
pub in2_20: f64,
pub in1_200: f64,
pub in2_200: f64,
pub in1_2000: f64,
pub in2_2000: f64,
pub turns: f64,
pub gd_20: f64,
pub gd_100: f64,
pub gd_500: f64,
pub gd24_abs: f64,
pub gd24_abs_hz: f64,
pub gd24_max: f64,
pub gd24_span: f64,
pub gd_30: f64,
pub pre_db: f64,
}Expand description
The upstream Metrics fields for one response.
Fields§
§level: f64Reference level from upstream Metrics.level, in dB.
in1_20: f64Share within ±1 dB from 20 Hz, in percent.
in2_20: f64Share within ±2 dB from 20 Hz, in percent.
in1_200: f64Share within ±1 dB from 200 Hz, in percent.
in2_200: f64Share within ±2 dB from 200 Hz, in percent.
in1_2000: f64Share within ±1 dB from 2,000 Hz, in percent.
in2_2000: f64Share within ±2 dB from 2,000 Hz, in percent.
turns: f64Phase rotation from upstream Metrics.turns, in turns.
gd_20: f64Group-delay spread near 20 Hz, in milliseconds.
gd_100: f64Group-delay spread near 100 Hz, in milliseconds.
gd_500: f64Group-delay spread near 500 Hz, in milliseconds.
gd24_abs: f64Largest absolute 1/24-octave group-delay peak, in milliseconds.
gd24_abs_hz: f64Frequency of the largest absolute group-delay peak, in Hz.
gd24_max: f64Largest signed 1/24-octave group-delay peak, in milliseconds.
gd24_span: f64Span of 1/24-octave group delay, in milliseconds.
gd_30: f64Group-delay spread near 30 Hz, in milliseconds.
pre_db: f64Pre-ringing level from upstream Metrics.pre_db, in dB.
Trait Implementations§
Source§impl Clone for MetricsSummary
impl Clone for MetricsSummary
impl Copy for MetricsSummary
Source§impl Debug for MetricsSummary
impl Debug for MetricsSummary
Source§impl<'de> Deserialize<'de> for MetricsSummary
impl<'de> Deserialize<'de> for MetricsSummary
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>,
Source§impl PartialEq for MetricsSummary
impl PartialEq for MetricsSummary
Source§impl Serialize for MetricsSummary
impl Serialize for MetricsSummary
impl StructuralPartialEq for MetricsSummary
Source§impl TS for MetricsSummary
impl TS for MetricsSummary
Source§type WithoutGenerics = MetricsSummary
type WithoutGenerics = MetricsSummary
WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or (). The only requirement for these dummy types is that
EXPORT_TO must be None. Read moreSource§type OptionInnerType = MetricsSummary
type OptionInnerType = MetricsSummary
std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.Source§fn docs() -> Option<String>
fn docs() -> Option<String>
TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributesSource§fn decl_concrete(cfg: &Config) -> String
fn decl_concrete(cfg: &Config) -> String
TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().Source§fn decl(cfg: &Config) -> String
fn decl(cfg: &Config) -> String
type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read moreSource§fn inline(cfg: &Config) -> String
fn inline(cfg: &Config) -> String
{ user_id: number }.
This function will panic if the type cannot be inlined.Source§fn inline_flattened(cfg: &Config) -> String
fn inline_flattened(cfg: &Config) -> String
Source§fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn output_path() -> Option<PathBuf>
fn output_path() -> Option<PathBuf>
T should be exported, relative to the output directory.
The returned path does not include any base directory. Read moreSource§fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
Source§fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export_all. Read moreSource§fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export. Read more