pub struct TranscriptionLogprobBuilder(/* private fields */);Expand description
Builder for TranscriptionLogprob.
Implementations§
Source§impl TranscriptionLogprobBuilder
impl TranscriptionLogprobBuilder
pub fn token(self, value: impl Into<String>) -> Self
pub fn bytes(self, value: impl Into<Vec<i64>>) -> Self
pub fn logprob(self, value: impl Into<Number>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> TranscriptionLogprob
pub fn build(self) -> TranscriptionLogprob
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for TranscriptionLogprobBuilder
impl RefUnwindSafe for TranscriptionLogprobBuilder
impl Send for TranscriptionLogprobBuilder
impl Sync for TranscriptionLogprobBuilder
impl Unpin for TranscriptionLogprobBuilder
impl UnsafeUnpin for TranscriptionLogprobBuilder
impl UnwindSafe for TranscriptionLogprobBuilder
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