Expand description
Definitions for AT Protocol’s data models. https://atproto.com/specs/data-model
Modules§
- string
- Lexicon string formats.
Structs§
- Blob
- Bounded
U8 - An unsigned integer with a minimum value of
MIN
and a maximum value ofMAX
. - Bounded
U16 - An unsigned integer with a minimum value of
MIN
and a maximum value ofMAX
. - Bounded
U32 - An unsigned integer with a minimum value of
MIN
and a maximum value ofMAX
. - Bounded
U64 - An unsigned integer with a minimum value of
MIN
and a maximum value ofMAX
. - CidLink
- Representation of an IPLD Link.
- Data
Model - Limited
NonZero U8 - An unsigned integer with a minimum value of 1 and a maximum value of
MAX
. - Limited
NonZero U16 - An unsigned integer with a minimum value of 1 and a maximum value of
MAX
. - Limited
NonZero U32 - An unsigned integer with a minimum value of 1 and a maximum value of
MAX
. - Limited
NonZero U64 - An unsigned integer with a minimum value of 1 and a maximum value of
MAX
. - Limited
U8 - An unsigned integer with a maximum value of
MAX
. - Limited
U16 - An unsigned integer with a maximum value of
MAX
. - Limited
U32 - An unsigned integer with a maximum value of
MAX
. - Limited
U64 - An unsigned integer with a maximum value of
MAX
. - Object
- A generic object type.
- UnTyped
Blob Ref - An untyped blob reference. Some records in the wild still contain this format, but should never write them.
- Unknown
Data - Data with an unknown schema in an open
Union
.
Enums§
- BlobRef
- Definitions for Blob types.
Usually a map with
$type
is used, but deprecated legacy formats are also supported for parsing. https://atproto.com/specs/data-model#blob-type - Typed
Blob Ref - Current, typed blob reference.
- Union
- An “open” union type.
- Unknown
- Arbitrary data with no specific validation and no type-specific fields.
Traits§
- Collection
- Trait for a collection of records that can be stored in a repository.
- TryFrom
Unknown - Trait for types that can be deserialized from an
Unknown
value. - TryInto
Unknown - Trait for types that can be serialized into an
Unknown
value.