"get by name, tag" functions; update todo

This commit is contained in:
2021-05-19 17:51:38 +01:00
parent a14cab8f41
commit c9c0942daf
3 changed files with 79 additions and 27 deletions

View File

@@ -4,9 +4,9 @@ use serde_derive::{Serialize, Deserialize};
#[derive(Debug, Eq, PartialEq)]
pub struct Entity {
name: String,
image: String,
tags: Vec<String>,
pub name: String,
pub image: String,
pub tags: Vec<String>,
}
impl Entity {