pub struct TranscriptionTextDoneBuilder(/* private fields */);Expand description
Builder for TranscriptionTextDone.
Implementations§
Source§impl TranscriptionTextDoneBuilder
impl TranscriptionTextDoneBuilder
pub fn languages(self, value: impl Into<Vec<TranscriptionLanguage>>) -> Self
pub fn logprobs(self, value: impl Into<Vec<TranscriptionLogprob>>) -> Self
pub fn usage(self, value: impl Into<TranscriptionTokenUsage>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> TranscriptionTextDone
pub fn build(self) -> TranscriptionTextDone
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for TranscriptionTextDoneBuilder
impl RefUnwindSafe for TranscriptionTextDoneBuilder
impl Send for TranscriptionTextDoneBuilder
impl Sync for TranscriptionTextDoneBuilder
impl Unpin for TranscriptionTextDoneBuilder
impl UnsafeUnpin for TranscriptionTextDoneBuilder
impl UnwindSafe for TranscriptionTextDoneBuilder
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