pub struct CandidateMapping {
pub full_name: String,
pub score: f64,
pub runner_up_score: Option<f64>,
}Expand description
Classifier evidence retained for one chunk-local speaker.
Fields§
§full_name: StringBest candidate’s caller-owned full name.
score: f64Best-candidate log-likelihood score relative to background at zero.
runner_up_score: Option<f64>Runner-up log-likelihood score relative to background at zero.
Trait Implementations§
Source§impl Clone for CandidateMapping
impl Clone for CandidateMapping
Source§fn clone(&self) -> CandidateMapping
fn clone(&self) -> CandidateMapping
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 CandidateMapping
impl Debug for CandidateMapping
Source§impl<'de> Deserialize<'de> for CandidateMapping
impl<'de> Deserialize<'de> for CandidateMapping
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CandidateMapping, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CandidateMapping, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CandidateMapping
impl PartialEq for CandidateMapping
Source§impl Serialize for CandidateMapping
impl Serialize for CandidateMapping
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CandidateMapping
Auto Trait Implementations§
impl Freeze for CandidateMapping
impl RefUnwindSafe for CandidateMapping
impl Send for CandidateMapping
impl Sync for CandidateMapping
impl Unpin for CandidateMapping
impl UnsafeUnpin for CandidateMapping
impl UnwindSafe for CandidateMapping
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