Crate iota_types

source ·
Expand description

Common types required by nodes and clients APIs like blocks, responses and DTOs.

Modules

  • API-related types like responses and DTOs.
  • Core data types for blocks in the tangle.

Macros

  • A convenience macro to work around the fact the [bitflags] crate does not yet support iterating over the individual flags. This macro essentially creates the [bitflags] and puts the individual flags into an associated constant pub const ALL_FLAGS: &'static [].
  • TODO
  • Helper macro to serialize types to string via serde.