# 📦 Discord API Types (Rust Port)
This folder contains a set of Rust types adapted from the original TypeScript definitions published by the [`discord-api-types`](https://github.com/discordjs/discord-api-types) project.
These types were originally licensed under the MIT License and are © vladfrangu.
---
## 🔄 Porting Notes
- All TypeScript interfaces, types, and enums were translated into idiomatic Rust equivalents.
- Some types were simplified, renamed, or restructured to better fit Rust's type system, ownership model, and crate conventions.
---
## ⚖️ License and Attribution
The original TypeScript definitions are licensed under the [MIT License](https://opensource.org/licenses/MIT).
This Rust adaptation preserves that license and includes full attribution.
All files in this folder are distributed under the terms of the MIT License.
See [`LICENSE`](./LICENSE) for the complete license text.
If you use these types in your own project, you're free to do so under the terms of the MIT License.
Please consider crediting both this crate and the original TypeScript source.
---
## 📁 Legal Notice
This folder is part of a larger project licensed under the **Apache License 2.0**.
However, the contents of `src/models/` remain under the MIT License due to their origin and nature.
Redistributors must retain:
- The full MIT license text (`LICENSE`) located in this folder
- This README file
- Any copyright notices
For more details on licensing across the project, see the root `LICENSE` and `NOTICE.md`.