|
|
@ -78,11 +78,11 @@ impl Dogs { |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
type Breed = String;
|
|
|
|
type Image = String;
|
|
|
|
type Images = Vec<Image>;
|
|
|
|
type Subbreeds = Vec<String>;
|
|
|
|
type Breeds = HashMap<Breed, Subbreeds>;
|
|
|
|
pub type Breed = String;
|
|
|
|
pub type Image = String;
|
|
|
|
pub type Images = Vec<Image>;
|
|
|
|
pub type Subbreeds = Vec<String>;
|
|
|
|
pub type Breeds = HashMap<Breed, Subbreeds>;
|
|
|
|
|
|
|
|
#[derive(Debug, Error)]
|
|
|
|
pub enum Error {
|
|
|
|