artifacts/
traits.rs

1use crate::models::{CharacterSchema, CooldownSchema};
2
3pub trait GetCooldown {
4    fn get_cooldown(&self) -> &CooldownSchema;
5}
6
7pub trait GetCharacter {
8    fn get_character(&self) -> &CharacterSchema;
9}
10
11pub trait IntoData {
12    type Data;
13    fn into_data(self) -> Self::Data;
14}