pub struct BidiGenerateContentTranscriptionBuilder(/* private fields */);Expand description
Builder for BidiGenerateContentTranscription.
Implementations§
Source§impl BidiGenerateContentTranscriptionBuilder
impl BidiGenerateContentTranscriptionBuilder
pub fn text(self, value: impl Into<String>) -> Self
pub fn finished(self, value: impl Into<bool>) -> Self
pub fn language_code(self, value: impl Into<String>) -> Self
pub fn speaker_label(self, value: impl Into<String>) -> Self
pub fn words(self, value: impl Into<Vec<WordInfo>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> BidiGenerateContentTranscription
pub fn build(self) -> BidiGenerateContentTranscription
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for BidiGenerateContentTranscriptionBuilder
impl RefUnwindSafe for BidiGenerateContentTranscriptionBuilder
impl Send for BidiGenerateContentTranscriptionBuilder
impl Sync for BidiGenerateContentTranscriptionBuilder
impl Unpin for BidiGenerateContentTranscriptionBuilder
impl UnsafeUnpin for BidiGenerateContentTranscriptionBuilder
impl UnwindSafe for BidiGenerateContentTranscriptionBuilder
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