1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 17:47:29 +00:00

Move BundleMetadata to the schema::bundle module

This commit is contained in:
Steffo 2022-08-06 02:02:55 +02:00
parent 30d605ab5a
commit df0524cea3
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,8 @@
/// The contents of the `anybundle.json` file of a bundle. //! This module defines [BundleMetadata].
/// The contents of the `metadata.json` file of a bundle.
/// ///
/// Both Core Bundles and Set Bundles are bundles, and both have anybundle. /// Both Core Bundles and Set Bundles are bundles, and both have `metadata.json` files.
#[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)] #[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
pub struct BundleMetadata { pub struct BundleMetadata {
/// The locales included in the bundle. /// The locales included in the bundle.

View file

@ -1,5 +1,3 @@
//! This module defines the types used in all Data Dragon bundles. //! This module defines the types used in all Data Dragon bundles.
mod metadata; pub mod metadata;
pub use metadata::BundleMetadata;