pub struct RealtimeCallCreateRequest {
pub sdp: String,
pub session: Option<RealtimeSessionConfiguration>,
}Available on crate feature
realtime only.Expand description
Request to create a Realtime call.
Fields§
§sdp: StringWebRTC Session Description Protocol (SDP) offer generated by the caller.
session: Option<RealtimeSessionConfiguration>Optional session configuration to apply before the realtime session is created.
Trait Implementations§
Source§impl AsyncTryFrom<RealtimeCallCreateRequest> for Form
impl AsyncTryFrom<RealtimeCallCreateRequest> for Form
Source§type Error = OpenAIError
type Error = OpenAIError
The type returned in the event of a conversion error.
Source§impl Clone for RealtimeCallCreateRequest
impl Clone for RealtimeCallCreateRequest
Source§fn clone(&self) -> RealtimeCallCreateRequest
fn clone(&self) -> RealtimeCallCreateRequest
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 Debug for RealtimeCallCreateRequest
impl Debug for RealtimeCallCreateRequest
Auto Trait Implementations§
impl Freeze for RealtimeCallCreateRequest
impl RefUnwindSafe for RealtimeCallCreateRequest
impl Send for RealtimeCallCreateRequest
impl Sync for RealtimeCallCreateRequest
impl Unpin for RealtimeCallCreateRequest
impl UnwindSafe for RealtimeCallCreateRequest
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