Builder: set files to record.
(mut self, files: I)
| 292 | |
| 293 | /// Builder: set files to record. |
| 294 | pub fn with_files<I, S>(mut self, files: I) -> Self |
| 295 | where |
| 296 | I: IntoIterator<Item = S>, |
| 297 | S: Into<String>, |
| 298 | { |
| 299 | self.files = files.into_iter().map(|s| s.into()).collect(); |
| 300 | self |
| 301 | } |
| 302 | |
| 303 | /// Builder: set the author. |
| 304 | pub fn with_author(mut self, author: impl Into<String>) -> Self { |