pub struct LiveSessionCreateRequestBuilder(/* private fields */);Expand description
Builder for LiveSessionCreateRequest.
Implementations§
Source§impl LiveSessionCreateRequestBuilder
impl LiveSessionCreateRequestBuilder
pub fn model(self, value: impl Into<String>) -> Self
pub fn instructions(self, value: impl Into<String>) -> Self
pub fn audio(self, value: impl Into<RealtimeAudioConfig>) -> Self
pub fn delegation(self, value: impl Into<LiveDelegation>) -> Self
pub fn initial_items(self, value: impl Into<Vec<LiveInitialMessage>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> LiveSessionCreateRequest
pub fn build(self) -> LiveSessionCreateRequest
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for LiveSessionCreateRequestBuilder
impl RefUnwindSafe for LiveSessionCreateRequestBuilder
impl Send for LiveSessionCreateRequestBuilder
impl Sync for LiveSessionCreateRequestBuilder
impl Unpin for LiveSessionCreateRequestBuilder
impl UnsafeUnpin for LiveSessionCreateRequestBuilder
impl UnwindSafe for LiveSessionCreateRequestBuilder
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