pub struct StreamUpdate {
pub result_changed: bool,
pub is_final: bool,
pub revision: i32,
pub input_received_ms: i64,
pub audio_committed_ms: i64,
pub buffered_ms: i64,
pub committed_changed: bool,
pub tentative_changed: bool,
}Expand description
Per-call change metadata from feed/finalize.
Fields§
§result_changed: boolAny observable property of the snapshot changed this call.
is_final: boolTrue only on the finalize call’s update.
revision: i32Monotonic snapshot revision; diff against the previous value.
input_received_ms: i64Total audio received since begin (ms).
audio_committed_ms: i64Family-reported audio progress / drain hint (ms).
buffered_ms: i64Audio still buffered inside the family’s streaming state (ms).
committed_changed: boolcommitted_text changed this call.
tentative_changed: booltentative_text changed this call.
Trait Implementations§
Source§impl Clone for StreamUpdate
impl Clone for StreamUpdate
Source§fn clone(&self) -> StreamUpdate
fn clone(&self) -> StreamUpdate
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 moreimpl Copy for StreamUpdate
Source§impl Debug for StreamUpdate
impl Debug for StreamUpdate
Source§impl Default for StreamUpdate
impl Default for StreamUpdate
Source§fn default() -> StreamUpdate
fn default() -> StreamUpdate
Returns the “default value” for a type. Read more
impl Eq for StreamUpdate
Source§impl PartialEq for StreamUpdate
impl PartialEq for StreamUpdate
Source§fn eq(&self, other: &StreamUpdate) -> bool
fn eq(&self, other: &StreamUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamUpdate
Auto Trait Implementations§
impl Freeze for StreamUpdate
impl RefUnwindSafe for StreamUpdate
impl Send for StreamUpdate
impl Sync for StreamUpdate
impl Unpin for StreamUpdate
impl UnsafeUnpin for StreamUpdate
impl UnwindSafe for StreamUpdate
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