Module owoof::types

source · []
Expand description

Relating to types for entities, attributes, and other database values.

If the serde feature is enabled, should be able to serialize and deserialize to a thing. But it might not be very coherent. Attribute and Entity instances are serialized to text with a leading symbol. So, the serialized representation of Value::Attribute(a) is the same as Value::Text(a.to_string()). So if you serialize the latter, you will deserialize into the former.

Modules

Structs

An attribute name or identifier, like :db/id or :pet/name.

A borrowing version of Attribute, like Path is to PathBuf.

A uuid referring to an entity.

Enums

A owning version of ValueRef

A borrowing version of Value

Functions

Opposite of fmt::Display. Requires the serde_json feature.

Opposite of fmt::Display. Requires the serde_json feature.