Crate spacetimedb_lib
source ·Re-exports
pub use address::Address;pub use data_key::DataKey;pub use hash::Hash;pub use identity::Identity;pub use primary_key::PrimaryKey;pub use spacetimedb_sats as sats;pub use type_def::*;
Modules
- Minimal utility for reading & writing the types we need to internal storage, without relying on types in third party libraries like
bytes::Bytes, etc. Meant to be kept slim and trim for use across both native and WASM. - Operators are implemented as “alias” of functions that are loaded at the start of the [ProgramVm] creation, ie:
Structs
- A product value is made of a a list of “elements” / “fields” / “factors” of other
AlgebraicValues.
Enums
- A value in SATS typed at some
AlgebraicType.