Update
This commit is contained in:
@@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user