pub struct CorrectionObservation {
pub local_label: String,
pub speaker_ordinal: u32,
pub observation_key: ObservationKey,
pub candidate: Option<CandidateMapping>,
pub identified_full_name: Option<String>,
pub confirmed_full_name: Option<String>,
}Expand description
One deterministic classifier observation in a correction packet.
Fields§
§local_label: StringChunk-local speaker label.
speaker_ordinal: u32Stable zero-based ordinal after labels are sorted.
observation_key: ObservationKeyDeterministic persisted training and correction key.
candidate: Option<CandidateMapping>Best available read-only classifier evidence.
identified_full_name: Option<String>Best candidate’s full name, even when identity quality is insufficient.
confirmed_full_name: Option<String>Human-confirmed full name, when the confirmation API has been applied.
Trait Implementations§
Source§impl Clone for CorrectionObservation
impl Clone for CorrectionObservation
Source§fn clone(&self) -> CorrectionObservation
fn clone(&self) -> CorrectionObservation
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 CorrectionObservation
impl Debug for CorrectionObservation
Source§impl<'de> Deserialize<'de> for CorrectionObservation
impl<'de> Deserialize<'de> for CorrectionObservation
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 CorrectionObservation
impl PartialEq for CorrectionObservation
Source§impl Serialize for CorrectionObservation
impl Serialize for CorrectionObservation
impl StructuralPartialEq for CorrectionObservation
Auto Trait Implementations§
impl Freeze for CorrectionObservation
impl RefUnwindSafe for CorrectionObservation
impl Send for CorrectionObservation
impl Sync for CorrectionObservation
impl Unpin for CorrectionObservation
impl UnsafeUnpin for CorrectionObservation
impl UnwindSafe for CorrectionObservation
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