pub struct TranscriptHypothesis {
pub stable_prefix: String,
pub unstable_suffix: String,
pub revision: u64,
pub finalised: bool,
}Expand description
The current reading of an in-progress utterance.
Fields§
§stable_prefix: StringThe portion that has stopped changing between revisions.
unstable_suffix: StringThe portion still being revised.
revision: u64How many revisions have been seen for this turn.
finalised: boolWhether the transcript has been finalized.
Implementations§
Trait Implementations§
Source§impl Clone for TranscriptHypothesis
impl Clone for TranscriptHypothesis
Source§fn clone(&self) -> TranscriptHypothesis
fn clone(&self) -> TranscriptHypothesis
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 TranscriptHypothesis
impl Debug for TranscriptHypothesis
Source§impl Default for TranscriptHypothesis
impl Default for TranscriptHypothesis
Source§fn default() -> TranscriptHypothesis
fn default() -> TranscriptHypothesis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranscriptHypothesis
impl<'de> Deserialize<'de> for TranscriptHypothesis
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 TranscriptHypothesis
impl PartialEq for TranscriptHypothesis
Source§impl Serialize for TranscriptHypothesis
impl Serialize for TranscriptHypothesis
impl StructuralPartialEq for TranscriptHypothesis
Auto Trait Implementations§
impl Freeze for TranscriptHypothesis
impl RefUnwindSafe for TranscriptHypothesis
impl Send for TranscriptHypothesis
impl Sync for TranscriptHypothesis
impl Unpin for TranscriptHypothesis
impl UnsafeUnpin for TranscriptHypothesis
impl UnwindSafe for TranscriptHypothesis
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