pub struct VoiceTranscriptRecord {
pub source_id: String,
pub call_source_id: String,
pub channel: VoiceTranscriptChannel,
pub ts_ms: i64,
pub end_ms: i64,
pub text: String,
pub envelope: SyncEnvelope,
}Expand description
One ASR transcript segment (“final” in wavekat-asr parlance) as it
crosses the wire. Each segment is a row on the daemon side
(transcripts table); the daemon batches a slice of them per
upload and the platform upserts per (user_id, source_id).
Fields§
§source_id: StringDaemon-side row id, formatted as text (the column is an autoincrement integer on SQLite). Stable per (call, segment) so re-shipping converges.
call_source_id: StringDaemon’s calls.id — the call this segment belongs to.
channel: VoiceTranscriptChannel§ts_ms: i64Start of the segment in milliseconds relative to the start of the call’s audio stream (not wall-clock).
end_ms: i64End of the segment, same reference frame as ts_ms.
text: StringRecognised text. Free-form; the platform stores it verbatim.
envelope: SyncEnvelopeTrait Implementations§
Source§impl Clone for VoiceTranscriptRecord
impl Clone for VoiceTranscriptRecord
Source§fn clone(&self) -> VoiceTranscriptRecord
fn clone(&self) -> VoiceTranscriptRecord
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 VoiceTranscriptRecord
impl Debug for VoiceTranscriptRecord
Source§impl<'de> Deserialize<'de> for VoiceTranscriptRecord
impl<'de> Deserialize<'de> for VoiceTranscriptRecord
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 HasSyncEnvelope for VoiceTranscriptRecord
impl HasSyncEnvelope for VoiceTranscriptRecord
fn envelope_mut(&mut self) -> &mut SyncEnvelope
Auto Trait Implementations§
impl Freeze for VoiceTranscriptRecord
impl RefUnwindSafe for VoiceTranscriptRecord
impl Send for VoiceTranscriptRecord
impl Sync for VoiceTranscriptRecord
impl Unpin for VoiceTranscriptRecord
impl UnsafeUnpin for VoiceTranscriptRecord
impl UnwindSafe for VoiceTranscriptRecord
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