Builder: set files to record.
(mut self, files: I)
| 273 | |
| 274 | /// Builder: set files to record. |
| 275 | pub fn with_files<I, S>(mut self, files: I) -> Self |
| 276 | where |
| 277 | I: IntoIterator<Item = S>, |
| 278 | S: Into<String>, |
| 279 | { |
| 280 | self.files = files.into_iter().map(|s| s.into()).collect(); |
| 281 | self |
| 282 | } |
| 283 | |
| 284 | /// Builder: set the author. |
| 285 | pub fn with_author(mut self, author: impl Into<String>) -> Self { |