pub struct TranscriptEntry {
pub timestamp: String,
pub speaker: String,
pub text: String,
pub source: String,
pub confidence: Option<f32>,
pub language: Option<String>,
pub duration_ms: Option<u64>,
}Expand description
A single entry in the voice transcript log.
Fields§
§timestamp: StringISO 8601 timestamp.
speaker: StringSpeaker identifier (“user”, “agent”, or diarized speaker label).
text: StringTranscribed or synthesized text.
source: StringSource of transcription (“local”, “cloud:openai-whisper”, etc.).
confidence: Option<f32>Confidence score (0.0-1.0) for STT entries.
language: Option<String>Detected language code.
duration_ms: Option<u64>Duration of the audio segment in milliseconds.
Trait Implementations§
Source§impl Clone for TranscriptEntry
impl Clone for TranscriptEntry
Source§fn clone(&self) -> TranscriptEntry
fn clone(&self) -> TranscriptEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 TranscriptEntry
impl Debug for TranscriptEntry
Source§impl<'de> Deserialize<'de> for TranscriptEntry
impl<'de> Deserialize<'de> for TranscriptEntry
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
Auto Trait Implementations§
impl Freeze for TranscriptEntry
impl RefUnwindSafe for TranscriptEntry
impl Send for TranscriptEntry
impl Sync for TranscriptEntry
impl Unpin for TranscriptEntry
impl UnsafeUnpin for TranscriptEntry
impl UnwindSafe for TranscriptEntry
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