mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Move BundleMetadata
to the schema::bundle
module
This commit is contained in:
parent
30d605ab5a
commit
df0524cea3
2 changed files with 5 additions and 5 deletions
|
@ -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.
|
|
@ -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;
|
|
Loading…
Reference in a new issue