This commit is contained in:
Stefan Menner
2025-05-28 17:16:10 +02:00
parent ce3cf003ff
commit 6b4cc88efa
3 changed files with 257 additions and 37 deletions

View File

@@ -0,0 +1,20 @@
#[derive(Debug, PartialEq, Eq)]
pub struct Icon {
pub name: String,
pub url: String,
pub width: u32,
pub height: u32,
pub content_type: String,
}
impl Clone for Icon {
fn clone(&self) -> Self {
Icon {
name: self.name.clone(),
url: self.url.clone(),
width: self.width,
height: self.height,
content_type: self.content_type.clone(),
}
}
}