pub struct ImportOptions<'a> {
pub db: &'a Database,
pub name: &'a str,
pub version: Version,
pub saved_stamped_changes: u16,
}Expand description
Options for importing or creating stored vectors.
Fields§
§db: &'a DatabaseDatabase to store the vector in.
name: &'a strName of the vector.
version: VersionVersion for tracking data schema compatibility.
saved_stamped_changes: u16Number of stamped change files to keep for rollback support (0 to disable).
Implementations§
Trait Implementations§
Source§impl<'a> Clone for ImportOptions<'a>
impl<'a> Clone for ImportOptions<'a>
Source§fn clone(&self) -> ImportOptions<'a>
fn clone(&self) -> ImportOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ImportOptions<'a>
impl<'a> Debug for ImportOptions<'a>
impl<'a> Copy for ImportOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImportOptions<'a>
impl<'a> !RefUnwindSafe for ImportOptions<'a>
impl<'a> Send for ImportOptions<'a>
impl<'a> Sync for ImportOptions<'a>
impl<'a> Unpin for ImportOptions<'a>
impl<'a> !UnwindSafe for ImportOptions<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more