Rust

Language Features

Generated code depends on the following Cargo features:

  • derive
  • alloc

Generator Features

FeatureStatusInfo
Union (polymorphic type)✅ done
Enum (group of constants)✅ done
Array (unordered collection)✅ done
Tuple (ordered collection)✅ done

Implement new

To generate a new method, use the preset RUST_COMMON_PRESET and provide the option implementNew: true.

Implement Default for enums

To generate Default implementation for enums that provide a default value, use the preset RUST_COMMON_PRESET and provide the option implementDefault: true.

Implement From<String> (serde_json)

TODO

Implement Into<String> (serde_json)

TODO

Implement From<FramedByteStream> (tokio_serde)

TODO

Implement From<FramedByteStream> (tokio_serde)

TOOD