pub struct GenerateContentResponseBodyBuilder(/* private fields */);Expand description
Builder for GenerateContentResponseBody.
Implementations§
Source§impl GenerateContentResponseBodyBuilder
impl GenerateContentResponseBodyBuilder
pub fn service_tier(self, value: impl Into<Option<ResponseServiceTier>>) -> Self
pub fn system_fingerprint(self, value: impl Into<String>) -> Self
pub fn usage(self, value: impl Into<Usage>) -> Self
pub fn moderation(self, value: impl Into<Option<ModerationResponse>>) -> 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