Build the documentation from provided components Panics if `doc_section`, `description` or `syntax_example` is not set
(self)
| 315 | /// |
| 316 | /// Panics if `doc_section`, `description` or `syntax_example` is not set |
| 317 | pub fn build(self) -> Documentation { |
| 318 | let Self { |
| 319 | doc_section, |
| 320 | description, |
| 321 | syntax_example, |
| 322 | sql_example, |
| 323 | arguments, |
| 324 | alternative_syntax, |
| 325 | related_udfs, |
| 326 | } = self; |
| 327 | |
| 328 | Documentation { |
| 329 | doc_section, |
| 330 | description, |
| 331 | syntax_example, |
| 332 | sql_example, |
| 333 | arguments, |
| 334 | alternative_syntax, |
| 335 | related_udfs, |
| 336 | } |
| 337 | } |
| 338 | } |
no outgoing calls