pub struct PartialUpdate {
pub revision: u64,
pub stable_text: String,
pub unstable_text: String,
pub display_text: String,
pub window_samples: usize,
pub latency_ms: Option<u64>,
pub reason: FinalizationReason,
pub is_final: bool,
}Expand description
One partial emission for the host UI.
Fields§
§revision: u64Monotonic revision (later supersedes earlier).
stable_text: StringPrefix that will not change under the documented algorithm.
unstable_text: StringTail that may still change on subsequent partials.
display_text: StringCombined display text (stable + unstable).
window_samples: usizeSample count of the window that produced this text.
latency_ms: Option<u64>Wall latency for this decode (host fills when known).
reason: FinalizationReason§is_final: boolTrue when this is the definitive session result.
Trait Implementations§
Source§impl Clone for PartialUpdate
impl Clone for PartialUpdate
Source§fn clone(&self) -> PartialUpdate
fn clone(&self) -> PartialUpdate
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 PartialUpdate
impl Debug for PartialUpdate
Source§impl PartialEq for PartialUpdate
impl PartialEq for PartialUpdate
impl StructuralPartialEq for PartialUpdate
Auto Trait Implementations§
impl Freeze for PartialUpdate
impl RefUnwindSafe for PartialUpdate
impl Send for PartialUpdate
impl Sync for PartialUpdate
impl Unpin for PartialUpdate
impl UnsafeUnpin for PartialUpdate
impl UnwindSafe for PartialUpdate
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,
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