Crate hydrate_data

Source

Re-exports§

pub use value::Value;

Modules§

json_storage
value

Structs§

AssetId
ID for a user-edited piece of data. It may have import data associated with it. Assets can be thought of as a list of properties that follow a particular schema.
AssetLocation
AssetName
AssetRefField
AssetRefFieldAccessor
AssetRefFieldRef
AssetRefFieldRefMut
BooleanField
BooleanFieldAccessor
BooleanFieldRef
BooleanFieldRefMut
BuildInfo
Affects how we build the file. However most of the time use asset properties instead. The only things in here should be system-level configuration that is relevant to any asset type
BuilderId
BytesField
BytesFieldAccessor
BytesFieldRef
BytesFieldRefMut
CanonicalPathReference
DataSet
A collection of assets. Methods support serializing/deserializing, resolving property values, etc. This includes being aware of schema and prototypes.
DataSetAssetInfo
The full state of a single asset in a dataset
DataSetDiff
DataSetDiffSet
DataSetErrorWithBacktrace
DynamicArrayField
DynamicArrayFieldAccessor
DynamicArrayFieldRef
DynamicArrayFieldRefMut
EnumField
EnumFieldAccessor
EnumFieldRef
EnumFieldRefMut
F32Field
F32FieldAccessor
F32FieldRef
F32FieldRefMut
F64Field
F64FieldAccessor
F64FieldRef
F64FieldRefMut
I32Field
I32FieldAccessor
I32FieldRef
I32FieldRefMut
I64Field
I64FieldAccessor
I64FieldRef
I64FieldRefMut
ImportInfo
Describes the conditions that we imported the file
ImportableName
ImporterId
LinkedSchemas
MapField
MapFieldAccessor
MapFieldRef
MapFieldRefMut
NullableField
NullableFieldAccessor
NullableFieldRef
NullableFieldRefMut
OrderedSet
PathReference
PathReferenceHash
PropertiesBundle
PropertyPath
RecordBuilder
SchemaCacheSingleFile
Handles saving and loading a schema cache, an immutable repository of all schemas that have ever existed.
SchemaDefDynamicArray
SchemaDefEnum
SchemaDefEnumSymbol
SchemaDefMap
SchemaDefRecord
SchemaDefRecordField
SchemaDefRecordFieldMarkup
SchemaDefRecordMarkup
SchemaDefStaticArray
SchemaDynamicArray
SchemaEnum
SchemaEnumInner
SchemaEnumSymbol
SchemaFingerprint
SchemaId
SchemaLinker
Acccumulates schema definitions defined in code or by json. Once schemas have been loaded, they are “linked”, producing read-only schemas that are hashed and may cyclically reference each other. The individual schemas are also very cheap to clone as they are stored in Arcs.
SchemaMap
SchemaRecord
SchemaRecordField
SchemaRecordInner
SchemaSet
SchemaSetBuilder
Accumulates linked types and can be used to create a schema. This allows validation of types and some work that can be pre-cached, such as generating default values for enums. (Values are not a concept that exists in the hydrate-schema crate)
SchemaStaticArray
SingleObject
A simplified container of data. Can be used to produce a set of properties and be merged into a data set later, or be serialized by itself. Still support schema migration.
StaticArrayField
StaticArrayFieldAccessor
StaticArrayFieldRef
StaticArrayFieldRefMut
StringField
StringFieldAccessor
StringFieldRef
StringFieldRefMut
U32Field
U32FieldAccessor
U32FieldRef
U32FieldRefMut
U64Field
U64FieldAccessor
U64FieldRef
U64FieldRefMut

Enums§

CachedSchemaNamedType
DataContainer
Provides a read/write view into a DataSet or SingleObject. A schema can be used to write into both forms.
DataContainerRef
Provides a read-only view into a DataSet or SingleObject. A schema can be used to write into both forms.
DataContainerRefMut
Provides a read/write view into a DataSet or SingleObject. A schema can be used to write into both forms.
DataSetError
HashObjectMode
NullOverride
OverrideBehavior
Schema
Describes format of data, either a single primitive value or complex layout comprised of potentially many values
SchemaDefNamedType
SchemaDefParserError
SchemaDefType
SchemaDefValidationError
SchemaLinkerError
SchemaNamedType

Traits§

Enum
Field
FieldAccessor
FieldRef
FieldRefMut
PathReferenceNamespaceResolver
Record
RecordAccessor
RecordRef
RecordRefMut

Type Aliases§

DataSetResult
HashMap
HashMapValues
HashSet
HashSetIter
SchemaDefParserResult
SchemaDefValidationResult
SchemaLinkerResult