pub struct ReactiveIndexOptions<K, V>{
pub name: String,
pub backend: Option<Box<dyn IndexBackend<K, V>>>,
pub mutation_log: bool,
pub equals: Option<IndexEqualsFn<K, V>>,
}Expand description
Options for constructing a ReactiveIndex.
Fields§
§name: String§backend: Option<Box<dyn IndexBackend<K, V>>>§mutation_log: bool§equals: Option<IndexEqualsFn<K, V>>Factory-level equals for upsert idempotency.
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for ReactiveIndexOptions<K, V>
impl<K, V> !RefUnwindSafe for ReactiveIndexOptions<K, V>
impl<K, V> Send for ReactiveIndexOptions<K, V>
impl<K, V> Sync for ReactiveIndexOptions<K, V>
impl<K, V> Unpin for ReactiveIndexOptions<K, V>
impl<K, V> UnsafeUnpin for ReactiveIndexOptions<K, V>
impl<K, V> !UnwindSafe for ReactiveIndexOptions<K, V>
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