make types public
This commit is contained in:
parent
14f905bc4a
commit
0d7013d69f
10
src/lib.rs
10
src/lib.rs
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user