(&self)
| 211 | } |
| 212 | |
| 213 | pub fn to_vec(&self) -> Vec<String> { |
| 214 | let mut repo_ids = vec![]; |
| 215 | for id in &self.0 { |
| 216 | repo_ids.push(id.to_string()); |
| 217 | } |
| 218 | repo_ids |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | #[derive(Clone, Debug, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize)] |