| 189 | #[derive(Derivative)] |
| 190 | #[derivative(Debug)] |
| 191 | pub struct UpsertLink { |
| 192 | pub actor: Arc<Viewer>, |
| 193 | pub add_parent_topic_id: Option<ExternalId>, |
| 194 | #[derivative(Debug = "ignore")] |
| 195 | pub fetcher: Box<dyn http::Fetch + Send + Sync>, |
| 196 | pub repo_id: RepoId, |
| 197 | pub title: Option<String>, |
| 198 | pub url: String, |
| 199 | } |
| 200 | |
| 201 | pub struct UpsertLinkResult { |
| 202 | pub alerts: Vec<Alert>, |