[][src]Crate kv_crud_core

Structs

Page

Used for result pagination.

Enums

Sort

Determines sorting order

Traits

Create

Represents ability to save entity in the storage. This trait is used by custom storage implementations.

Crud
Delete

Represents the ability to remove the entity from the storage. This trait is used by custom storage implementations.

Entity

Represents an entity that can be stored in the system. You have to implement this trait for your custom type to be able to store it. Keep in mind that different implementations may require additional type constraints.

Read

Represents the ability to find single entity by its id in the system. This trait is used by custom storage implementations.

ReadWithPaginationAndSort

Represents the ability to list items with pagination and sorting. This trait is used by custom storage implementations.

Update

Represents the ability to update the entity. This trait is used by custom storage implementations.