pub struct TranscriptionDiarizedSegment {
pub type: TranscriptionDiarizedSegmentType,
pub id: String,
pub start: f32,
pub end: f32,
pub text: String,
pub speaker: String,
}Fields§
§type: TranscriptionDiarizedSegmentTypeThe type of the segment. Always transcript.text.segment.
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.
When known speakers are provided, the label matches known_speaker_names[].
Otherwise speakers are labeled sequentially using capital letters (A, B, …).
Trait Implementations§
Source§impl Clone for TranscriptionDiarizedSegment
impl Clone for TranscriptionDiarizedSegment
Source§fn clone(&self) -> TranscriptionDiarizedSegment
fn clone(&self) -> TranscriptionDiarizedSegment
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 TranscriptionDiarizedSegment
impl Debug for TranscriptionDiarizedSegment
Source§impl<'de> Deserialize<'de> for TranscriptionDiarizedSegment
impl<'de> Deserialize<'de> for TranscriptionDiarizedSegment
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 TranscriptionDiarizedSegment
impl RefUnwindSafe for TranscriptionDiarizedSegment
impl Send for TranscriptionDiarizedSegment
impl Sync for TranscriptionDiarizedSegment
impl Unpin for TranscriptionDiarizedSegment
impl UnwindSafe for TranscriptionDiarizedSegment
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