Convert to retrieve options for the alive graph module.
(self)
| 226 | |
| 227 | /// Convert to retrieve options for the alive graph module. |
| 228 | fn to_retrieve_options(self) -> RetrieveOptions { |
| 229 | let mut opts = RetrieveOptions::default(); |
| 230 | if self.include_deleted { |
| 231 | opts = opts.include_deleted(true); |
| 232 | } |
| 233 | if let Some(max) = self.max_vertices { |
| 234 | opts = opts.max_vertices(max); |
| 235 | } |
| 236 | opts |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | impl Default for FileOutputOptions { |