pub struct GenerateContentResponseBodyBuilder(/* private fields */);Expand description
Builder for GenerateContentResponseBody.
Implementations§
Source§impl GenerateContentResponseBodyBuilder
impl GenerateContentResponseBodyBuilder
pub fn input_transformations( self, value: impl Into<Option<Vec<InputTransformation>>>, ) -> Self
pub fn container(self, value: impl Into<Option<ResponseContainer>>) -> Self
pub fn context_management( self, value: impl Into<Option<ContextManagementResponse>>, ) -> Self
pub fn diagnostics(self, value: impl Into<Option<DiagnosticsResponse>>) -> Self
pub fn stop_details(self, value: impl Into<Option<RefusalStopDetails>>) -> Self
pub fn stop_sequence(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> GenerateContentResponseBody
pub fn build(self) -> GenerateContentResponseBody
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for GenerateContentResponseBodyBuilder
impl RefUnwindSafe for GenerateContentResponseBodyBuilder
impl Send for GenerateContentResponseBodyBuilder
impl Sync for GenerateContentResponseBodyBuilder
impl Unpin for GenerateContentResponseBodyBuilder
impl UnsafeUnpin for GenerateContentResponseBodyBuilder
impl UnwindSafe for GenerateContentResponseBodyBuilder
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