pub struct RealtimeServerEventTranscriptionSessionUpdated {
pub event_id: String,
pub session: RealtimeTranscriptionSessionCreateResponse,
}
Expand description
Returned when a transcription session is updated with a transcription_session.update
event, unless
there is an error.
Fields§
§event_id: String
The unique ID of the server event.
session: RealtimeTranscriptionSessionCreateResponse
Implementations§
Source§impl RealtimeServerEventTranscriptionSessionUpdated
impl RealtimeServerEventTranscriptionSessionUpdated
Sourcepub fn builder() -> RealtimeServerEventTranscriptionSessionUpdatedBuilder<((), ())>
pub fn builder() -> RealtimeServerEventTranscriptionSessionUpdatedBuilder<((), ())>
Create a builder for building RealtimeServerEventTranscriptionSessionUpdated
.
On the builder, call .event_id(...)
, .session(...)
to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeServerEventTranscriptionSessionUpdated
.
Trait Implementations§
Source§impl Clone for RealtimeServerEventTranscriptionSessionUpdated
impl Clone for RealtimeServerEventTranscriptionSessionUpdated
Source§fn clone(&self) -> RealtimeServerEventTranscriptionSessionUpdated
fn clone(&self) -> RealtimeServerEventTranscriptionSessionUpdated
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 RealtimeServerEventTranscriptionSessionUpdated
impl<'de> Deserialize<'de> for RealtimeServerEventTranscriptionSessionUpdated
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 PartialEq for RealtimeServerEventTranscriptionSessionUpdated
impl PartialEq for RealtimeServerEventTranscriptionSessionUpdated
Source§fn eq(&self, other: &RealtimeServerEventTranscriptionSessionUpdated) -> bool
fn eq(&self, other: &RealtimeServerEventTranscriptionSessionUpdated) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RealtimeServerEventTranscriptionSessionUpdated
Auto Trait Implementations§
impl Freeze for RealtimeServerEventTranscriptionSessionUpdated
impl RefUnwindSafe for RealtimeServerEventTranscriptionSessionUpdated
impl Send for RealtimeServerEventTranscriptionSessionUpdated
impl Sync for RealtimeServerEventTranscriptionSessionUpdated
impl Unpin for RealtimeServerEventTranscriptionSessionUpdated
impl UnwindSafe for RealtimeServerEventTranscriptionSessionUpdated
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