pub struct SttFixture {
pub id: String,
pub language: String,
pub reference: String,
pub audio: Option<String>,
pub tags: Vec<String>,
pub timestamps_expected_reliable: bool,
pub license: String,
}Expand description
One STT reference fixture (text-only; audio path is optional for offline text scoring).
Fields§
§id: String§language: String§reference: StringNormalized reference transcript.
audio: Option<String>Relative path to audio under the corpus root (optional for pure text tests).
Tags: clean, noisy, short, long, silence, …
timestamps_expected_reliable: boolWhen true, timestamps are expected to be reliable (ASR, not LLM-assisted).
license: StringProvenance / licensing note.
Trait Implementations§
Source§impl Clone for SttFixture
impl Clone for SttFixture
Source§fn clone(&self) -> SttFixture
fn clone(&self) -> SttFixture
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 SttFixture
impl Debug for SttFixture
Source§impl<'de> Deserialize<'de> for SttFixture
impl<'de> Deserialize<'de> for SttFixture
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 SttFixture
impl PartialEq for SttFixture
Source§impl Serialize for SttFixture
impl Serialize for SttFixture
impl StructuralPartialEq for SttFixture
Auto Trait Implementations§
impl Freeze for SttFixture
impl RefUnwindSafe for SttFixture
impl Send for SttFixture
impl Sync for SttFixture
impl Unpin for SttFixture
impl UnsafeUnpin for SttFixture
impl UnwindSafe for SttFixture
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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