(&self)
| 216 | } |
| 217 | |
| 218 | pub fn child_link_ids(&self) -> Vec<ExternalId> { |
| 219 | self.repo_topic |
| 220 | .children |
| 221 | .iter() |
| 222 | .flat_map(|child| match child.kind { |
| 223 | Kind::Topic => None, |
| 224 | Kind::Link => Some(child.id.to_owned()), |
| 225 | }) |
| 226 | .collect_vec() |
| 227 | } |
| 228 | |
| 229 | pub fn details(&self) -> Option<&RepoTopicDetails> { |
| 230 | self.repo_topic.details() |