pub struct RealtimeClientEventSessionUpdate {
pub event_id: Option<String>,
pub session: Session,
}Available on crate feature
realtime only.Fields§
§event_id: Option<String>Optional client-generated ID used to identify this event.
This is an arbitrary string that a client may assign. It will be passed
back if there is an error with the event, but the corresponding
session.updated event will not include it.
session: SessionUpdate the Realtime session. Choose either a realtime session or a transcription session.
Trait Implementations§
Source§impl Clone for RealtimeClientEventSessionUpdate
impl Clone for RealtimeClientEventSessionUpdate
Source§fn clone(&self) -> RealtimeClientEventSessionUpdate
fn clone(&self) -> RealtimeClientEventSessionUpdate
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 RealtimeClientEventSessionUpdate
impl<'de> Deserialize<'de> for RealtimeClientEventSessionUpdate
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 From<RealtimeClientEventSessionUpdate> for Message
impl From<RealtimeClientEventSessionUpdate> for Message
Source§fn from(value: RealtimeClientEventSessionUpdate) -> Self
fn from(value: RealtimeClientEventSessionUpdate) -> Self
Converts to this type from the input type.
Source§impl From<RealtimeClientEventSessionUpdate> for RealtimeClientEvent
impl From<RealtimeClientEventSessionUpdate> for RealtimeClientEvent
Source§fn from(value: RealtimeClientEventSessionUpdate) -> Self
fn from(value: RealtimeClientEventSessionUpdate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RealtimeClientEventSessionUpdate
impl RefUnwindSafe for RealtimeClientEventSessionUpdate
impl Send for RealtimeClientEventSessionUpdate
impl Sync for RealtimeClientEventSessionUpdate
impl Unpin for RealtimeClientEventSessionUpdate
impl UnwindSafe for RealtimeClientEventSessionUpdate
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