pub struct RealtimeServerEventConversationItemInputAudioTranscriptionSegment {
pub event_id: String,
pub item_id: String,
pub content_index: u32,
pub text: String,
pub id: String,
pub speaker: String,
pub start: f32,
pub end: f32,
}Available on crate feature
realtime only.Fields§
§event_id: StringThe unique ID of the server event.
item_id: StringThe ID of the item containing the input audio content.
content_index: u32The index of the input audio content part within the item.
text: StringThe text for this segment.
id: StringThe segment identifier.
speaker: StringThe detected speaker label for this segment.
start: f32Start time of the segment in seconds.
end: f32End time of the segment in seconds.
Trait Implementations§
Source§impl Clone for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
impl Clone for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
Source§fn clone(
&self,
) -> RealtimeServerEventConversationItemInputAudioTranscriptionSegment
fn clone( &self, ) -> RealtimeServerEventConversationItemInputAudioTranscriptionSegment
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 RealtimeServerEventConversationItemInputAudioTranscriptionSegment
impl<'de> Deserialize<'de> for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
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 RealtimeServerEventConversationItemInputAudioTranscriptionSegment
impl RefUnwindSafe for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
impl Send for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
impl Sync for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
impl Unpin for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
impl UnwindSafe for RealtimeServerEventConversationItemInputAudioTranscriptionSegment
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