Function insert_items

Source
pub async fn insert_items<T, F>(
    con: MultiplexedConnection,
    key: &str,
    items: &[T],
    id_extractor: F,
) -> RedisResult<Value>
where T: Serialize, F: Fn(&T) -> String,
Expand description

Inserts multiple items into a Redis hash, serializing each item to JSON.