(&self, cycle: bool)
| 129 | |
| 130 | impl SynonymMatch { |
| 131 | pub fn with_cycle(&self, cycle: bool) -> Self { |
| 132 | Self { |
| 133 | cycle, |
| 134 | entry: self.entry.to_owned(), |
| 135 | name: self.name.to_owned(), |
| 136 | repo_id: self.repo_id, |
| 137 | repo_topic: self.repo_topic.to_owned(), |
| 138 | } |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | #[derive(Clone, Debug, Deserialize, Serialize)] |