pub struct FileSearchStoreBuilder { /* private fields */ }Expand description
Builder for creating a new file search store.
§Example
use gemini_rust::prelude::*;
let client = Gemini::new("API_KEY")?;
let store = client
.create_file_search_store()
.with_display_name("Documentation Store")
.execute()
.await?;Implementations§
Source§impl FileSearchStoreBuilder
impl FileSearchStoreBuilder
pub fn with_display_name(self, name: impl Into<String>) -> Self
pub async fn execute(self) -> Result<FileSearchStoreHandle, Error>
Auto Trait Implementations§
impl Freeze for FileSearchStoreBuilder
impl !RefUnwindSafe for FileSearchStoreBuilder
impl Send for FileSearchStoreBuilder
impl Sync for FileSearchStoreBuilder
impl Unpin for FileSearchStoreBuilder
impl !UnwindSafe for FileSearchStoreBuilder
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