Builder: set files to record.
(mut self, files: I)
| 281 | |
| 282 | /// Builder: set files to record. |
| 283 | pub fn with_files<I, S>(mut self, files: I) -> Self |
| 284 | where |
| 285 | I: IntoIterator<Item = S>, |
| 286 | S: Into<String>, |
| 287 | { |
| 288 | self.files = files.into_iter().map(|s| s.into()).collect(); |
| 289 | self |
| 290 | } |
| 291 | |
| 292 | /// Builder: set the author. |
| 293 | pub fn with_author(mut self, author: impl Into<String>) -> Self { |