pub struct TranscriptionTextSegmentEvent {
pub id: String,
pub start: f32,
pub end: f32,
pub text: String,
pub speaker: String,
}Fields§
§id: StringUnique identifier for the segment.
start: f32Start timestamp of the segment in seconds.
end: f32End timestamp of the segment in seconds.
text: StringTranscript text for this segment.
speaker: StringSpeaker label for this segment.
Trait Implementations§
Source§impl Clone for TranscriptionTextSegmentEvent
impl Clone for TranscriptionTextSegmentEvent
Source§fn clone(&self) -> TranscriptionTextSegmentEvent
fn clone(&self) -> TranscriptionTextSegmentEvent
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<'de> Deserialize<'de> for TranscriptionTextSegmentEvent
impl<'de> Deserialize<'de> for TranscriptionTextSegmentEvent
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 EventType for TranscriptionTextSegmentEvent
impl EventType for TranscriptionTextSegmentEvent
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Returns the event type string (e.g., “batch.cancelled”)
Source§impl PartialEq for TranscriptionTextSegmentEvent
impl PartialEq for TranscriptionTextSegmentEvent
Source§fn eq(&self, other: &TranscriptionTextSegmentEvent) -> bool
fn eq(&self, other: &TranscriptionTextSegmentEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscriptionTextSegmentEvent
Auto Trait Implementations§
impl Freeze for TranscriptionTextSegmentEvent
impl RefUnwindSafe for TranscriptionTextSegmentEvent
impl Send for TranscriptionTextSegmentEvent
impl Sync for TranscriptionTextSegmentEvent
impl Unpin for TranscriptionTextSegmentEvent
impl UnwindSafe for TranscriptionTextSegmentEvent
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