Module packet

Source
Expand description

A module containing models fetched from the ch.tetr.io API Almost all models supported are “equivalent” to the ones shown in the API documentations.

Structs§

Error
Packet
A struct representing any packet sent by the tetr.io API as shown in the API docs. I use it as a wrapper to all other models because the structure is always the same.
SuccessPacket
A struct representing any packet sent by the tetr.io API as shown in the API docs. I use it as a wrapper to all other models because the structure is always the same.

Traits§

PacketData