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