pub struct BetaRealtimeTranscriptionSession {
pub client_secret: Option<RealtimeSessionClientSecret>,
pub input_audio_format: Option<String>,
pub modalities: Vec<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 Beta Realtime transcription session 对象。
Fields§
§client_secret: Option<RealtimeSessionClientSecret>临时 client secret。
input_audio_format: Option<String>输入音频格式。
modalities: Vec<String>模态集合。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for BetaRealtimeTranscriptionSession
impl Clone for BetaRealtimeTranscriptionSession
Source§fn clone(&self) -> BetaRealtimeTranscriptionSession
fn clone(&self) -> BetaRealtimeTranscriptionSession
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 Default for BetaRealtimeTranscriptionSession
impl Default for BetaRealtimeTranscriptionSession
Source§fn default() -> BetaRealtimeTranscriptionSession
fn default() -> BetaRealtimeTranscriptionSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BetaRealtimeTranscriptionSession
impl<'de> Deserialize<'de> for BetaRealtimeTranscriptionSession
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 BetaRealtimeTranscriptionSession
impl RefUnwindSafe for BetaRealtimeTranscriptionSession
impl Send for BetaRealtimeTranscriptionSession
impl Sync for BetaRealtimeTranscriptionSession
impl Unpin for BetaRealtimeTranscriptionSession
impl UnsafeUnpin for BetaRealtimeTranscriptionSession
impl UnwindSafe for BetaRealtimeTranscriptionSession
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