MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / indexed_fields

Method indexed_fields

nodedb/src/engine/kv/index.rs:477–479  ·  view source on GitHub ↗

Iterator over all index field names.

(&self)

Source from the content-addressed store, hash-verified

475
476 /// Iterator over all index field names.
477 pub fn indexed_fields(&self) -> impl Iterator<Item = &str> {
478 self.indexes.iter().map(|i| i.field.as_str())
479 }
480}
481
482impl Default for KvIndexSet {

Callers 1

statsMethod · 0.80

Calls 2

iterMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected