| 700 | #[derive(Clone, Deserialize, Serialize, Eq, PartialEq)] |
| 701 | #[serde(rename_all = "camelCase")] |
| 702 | pub struct UpsertLink { |
| 703 | pub actor_id: String, |
| 704 | pub add_parent_topic: Option<TopicInfo>, |
| 705 | pub date: Timestamp, |
| 706 | pub id: ExternalId, |
| 707 | pub parent_topics: BTreeSet<ExternalId>, |
| 708 | pub previous_title: Option<String>, |
| 709 | pub upserted_link: LinkInfo, |
| 710 | } |
| 711 | |
| 712 | impl UpsertLink { |
| 713 | fn ids(&self) -> HashSet<&ExternalId> { |
no outgoing calls