pub struct RealtimeTranslationServerEventSessionUpdated {
pub event_id: String,
pub session: RealtimeTranslationSession,
}Available on crate feature
realtime-types only.Expand description
Returned when a translation session is updated with a session.update event,
unless there is an error.
Fields§
§event_id: StringThe unique ID of the server event.
session: RealtimeTranslationSessionThe translation session configuration.
Trait Implementations§
Source§impl Clone for RealtimeTranslationServerEventSessionUpdated
impl Clone for RealtimeTranslationServerEventSessionUpdated
Source§fn clone(&self) -> RealtimeTranslationServerEventSessionUpdated
fn clone(&self) -> RealtimeTranslationServerEventSessionUpdated
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RealtimeTranslationServerEventSessionUpdated
impl<'de> Deserialize<'de> for RealtimeTranslationServerEventSessionUpdated
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 RealtimeTranslationServerEventSessionUpdated
impl RefUnwindSafe for RealtimeTranslationServerEventSessionUpdated
impl Send for RealtimeTranslationServerEventSessionUpdated
impl Sync for RealtimeTranslationServerEventSessionUpdated
impl Unpin for RealtimeTranslationServerEventSessionUpdated
impl UnsafeUnpin for RealtimeTranslationServerEventSessionUpdated
impl UnwindSafe for RealtimeTranslationServerEventSessionUpdated
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