pub struct GroundingChunkBuilder(/* private fields */);Expand description
Builder for GroundingChunk.
Implementations§
Source§impl GroundingChunkBuilder
impl GroundingChunkBuilder
pub fn web(self, value: impl Into<Web>) -> Self
pub fn image(self, value: impl Into<Image>) -> Self
pub fn retrieved_context(self, value: impl Into<RetrievedContext>) -> Self
pub fn maps(self, value: impl Into<Maps>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> GroundingChunk
pub fn build(self) -> GroundingChunk
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for GroundingChunkBuilder
impl RefUnwindSafe for GroundingChunkBuilder
impl Send for GroundingChunkBuilder
impl Sync for GroundingChunkBuilder
impl Unpin for GroundingChunkBuilder
impl UnsafeUnpin for GroundingChunkBuilder
impl UnwindSafe for GroundingChunkBuilder
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