| 514 | |
| 515 | #[derive(Clone)] |
| 516 | pub struct QsyncOptions { |
| 517 | is_debug: bool, |
| 518 | url_base: String, |
| 519 | |
| 520 | // Discarded this attempt; this is really hard to do correctly |
| 521 | // /// Qsync detects a set of "extractor" types that are generally |
| 522 | // /// found in web frameworks like actix_web. It uses these extractors |
| 523 | // /// to generate code with correct parameters and return types. |
| 524 | // /// By default, it supports: |
| 525 | // /// - Path |
| 526 | // /// - Json |
| 527 | // /// - Form |
| 528 | // /// - Query |
| 529 | // /// - Auth |
| 530 | // /// |
| 531 | // /// In the case you write your own extractor, you can specify it here. |
| 532 | // custom_extractors: Vec<ExtractorProperties>, |
| 533 | auth_extractors: Vec<String>, |
| 534 | } |
| 535 | |
| 536 | impl QsyncOptions { |
| 537 | #[must_use] |
nothing calls this directly
no outgoing calls
no test coverage detected