Modules§
- Vendor module to re-expose relevant libraries
Structs§
- Represents a edge from an ent to one or more other ents
- Represents a definition of an edge, which is comprised of its name, type of edge value, and the edge’s deletion policy
- Represents a field contained within some ent
- Represents a definition of a field, which is comprised of its name, type of value, and any associated attributes
- Represents the allocator of unique ids
- Represents a typed
Predicate
specifically for maps such asstd::collections::HashMap
, ensuring that only valid conditions are used for a given type. - Represents a generic query to find ents within some database
- Represents a typed
Predicate
, ensuring that only valid conditions are used for a given type - Represents a general-purpose ent that is shapeless (no hard type) and maintains fields and edges using internal maps. This ent can optionally be connected to a database and supports additional functionality like loading ents from edges when connected.
Enums§
- Represents some error the can occur when accessing the database
- Represents the policy to apply to an edge when its ent is deleted
- Represents the value of an edge, which is some collection of ent ids
- Represents some error the can occur when mutating an edge’s value
- Auto-generated discriminant enum variants
- Represents some error that can occur when converting an ent to another type
- Represents some error the can occur when mutating an ent
- Represents data about an ent type
- Represents an attribute associated with a field for an ent
- Represents some filter to apply against an ent when searching through a database
- Represents a generic number that maintains an internal Rust representation of the actual number
- Represents the sign of a number
- Auto-generated discriminant enum variants
- Represents an untyped predicate that can be used to inspect a value for some specified condition
- Represents a primitive value
- Represents primitive value types
- Represents either a primitive or complex value
- Represents value types (primitive or complex). Assumes that complex types will contain the same inner type and does not vary
Constants§
- Represents the id that is not used for allocation but is instead reserved by applications for grabbing a different, unique id
Traits§
- Trait used for casting support into the Any trait object
- Represents a synchronous database, which performs blocking CRUD operations using ents. Given that many database implementations handle interior mutability themselves, the API of this trait does not provide any mut guarantees itself.
- Represents the interface for a generic entity whose fields and edges can be accessed by str name regardless of compile-time characteristics
- Represents a builder interface for some ent, capable of building a new ent instance and also saving the new ent to the database at the same time
- Represents an interface to load some ent from a database
- Represents a query interface for some ent
- Represents the interface for an Ent to report its type. This should align with [
Ent::r#type()
] method and is used when we must know the type without having an instance of an ent. - Represents a wrapper around some set of ents that implement
Ent
, useful for edges that can return one of many different types that are variants of an enum - Represents some data that can be converted to and from a
Number
- Represents some data that can be converted to and from a
Primitive
- Represents some data that can be converted to and from a
Value
Functions§
- Converts a typed database into a
DatabaseRc
Type Aliases§
- Represents a thread-safe reference to a boxed database trait object
- Alias to a result that can contain a database error
- Represents the type for ids
- Represents a weak thread-safe reference to a boxed database trait object