Skip to main content

Crate ents

Crate ents 

Source

Structs§

Edge
Edge result containing all three properties
EdgeCursor
Cursor for pagination combining sort key and destination
EdgeQuery
Query parameters for edge enumeration
EdgeQueryResult
Result of an edge query, containing edges and pagination info
EdgeValue
Represents a validated edge ready to be inserted into the database.
NullEdgeDraft
NullEdgeProvider
A no-op edge provider for entities that don’t have edges.

Enums§

DatabaseError
Error type for database operations
DraftError
Errors that can occur when creating an edge draft
EntMutationError
Error type for entity mutations
SortOrder
Sort order for edge queries

Traits§

EdgeDraft
Draft of edge before validation. Extends PartialEq which can be used to skip revalidation.
Ent
EntExt
IncomingEdgeProvider
Declares edges whose destination is the entity
QueryEdge
ReadEnt
TransactionProvider
Transactional

Type Aliases§

DatabaseResult
Id
Unique identifier for an entity