1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Derive Debug for more things

This commit is contained in:
Steffo 2022-08-07 05:42:04 +02:00
parent 8ed792bda9
commit 6edc2965a9
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -15,6 +15,7 @@ use crate::data::setbundle::card::{Card, CardIndex};
/// To create a new engine, use [CardSearchEngine::new].
///
/// A separate search engine should be created for every locale.
#[derive(Debug)]
pub struct CardSearchEngine {
/// The index of the search engine.
index: Index,
@ -307,6 +308,7 @@ impl CardSearchEngine {
/// Struct containing all retrieved [CardSearchEngine] [Field]s.
///
/// This makes it easier to pass them around without having to re-fetch them every time they are used.
#[derive(Debug)]
struct CardSchemaFields {
/// [Card::code].
pub code: Field,