pub struct ObjectStoreIndexBuilder { /* private fields */ }
Implementations§
source§impl ObjectStoreIndexBuilder
impl ObjectStoreIndexBuilder
pub fn name(self, name: impl Into<String>) -> ObjectStoreIndexBuilder
pub fn key_path(self, key_path: impl Into<KeyPath>) -> ObjectStoreIndexBuilder
pub fn unique(self, unique: impl Into<bool>) -> ObjectStoreIndexBuilder
pub fn multi_entry( self, multi_entry: impl Into<bool> ) -> ObjectStoreIndexBuilder
pub fn build(self) -> Result<ObjectStoreIndex, String>
Trait Implementations§
source§impl Clone for ObjectStoreIndexBuilder
impl Clone for ObjectStoreIndexBuilder
source§fn clone(&self) -> ObjectStoreIndexBuilder
fn clone(&self) -> ObjectStoreIndexBuilder
Returns a copy 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 Default for ObjectStoreIndexBuilder
impl Default for ObjectStoreIndexBuilder
source§fn default() -> ObjectStoreIndexBuilder
fn default() -> ObjectStoreIndexBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ObjectStoreIndexBuilder
impl RefUnwindSafe for ObjectStoreIndexBuilder
impl Send for ObjectStoreIndexBuilder
impl Sync for ObjectStoreIndexBuilder
impl Unpin for ObjectStoreIndexBuilder
impl UnwindSafe for ObjectStoreIndexBuilder
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