Expand description
The store interface a resource is built on, and an in-memory implementation.
A store is anything that can list, read, create, replace, merge and delete
items; MemoryStore is the built-in one, so that a working CRUD API is one
call away in examples, tests and prototypes.
Structs§
- Memory
Store - A resource store backed by an ordered list of items.
Traits§
- Store
- What a store must be able to do for
crate::resource::register_resource.
Functions§
- id_
to_ string - Render an identifier as the text a path carries.
- normalize_
id - Normalise an identifier so that
"1"from a path matches a stored1.