pub struct SparseField<Field> {
    pub field: Field,
}
Expand description

Stores values in the object pool, while keeping keys in the index

Fields§

§field: Field

Trait Implementations§

Use this strategy to load the collection. Read more
The key that the predicate will use to decide whether to pull more data into memory.
The serialized record format. This type will typically implement serde::Serialize
This is equivalent to Iterator::Item, and should contain a full record that can be inserted into the in-memory store.
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data.
Load the full record, and return it
Store the deserialized record in the collection
Use this strategy to load the collection. Read more
The key that the predicate will use to decide whether to pull more data into memory.
The serialized record format. This type will typically implement serde::Serialize
This is equivalent to Iterator::Item, and should contain a full record that can be inserted into the in-memory store.
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data.
Load the full record, and return it
Store the deserialized record in the collection
Use this strategy to load the collection. Read more
The key that the predicate will use to decide whether to pull more data into memory.
The serialized record format. This type will typically implement serde::Serialize
This is equivalent to Iterator::Item, and should contain a full record that can be inserted into the in-memory store.
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data.
Load the full record, and return it
Store the deserialized record in the collection
Use this strategy to load the collection. Read more
The key that the predicate will use to decide whether to pull more data into memory.
The serialized record format. This type will typically implement serde::Serialize
This is equivalent to Iterator::Item, and should contain a full record that can be inserted into the in-memory store.
Get the key based on the deserialized data. You want this to be a reference that’s easy to derive from the serialized data.
Load the full record, and return it
Store the deserialized record in the collection
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Store the contents of the field into the index. The field itself needs to track whether this should be a complete rewrite or an upsert. Read more
Instantiate a new Strategy.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Execute a load action. Read more
The key that the predicate will use to decide whether to pull more data into memory.
Load items into memory based on a predicate Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.