Last active
November 5, 2025 17:40
-
-
Save jfarcand/99c74ca95b1e47a224e6d18e88d7e16e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Run cargo clippy --all-targets --all-features --quiet -- -W clippy::all -W clippy::pedantic -W clippy::nursery -D warnings | |
| cargo clippy --all-targets --all-features --quiet -- -W clippy::all -W clippy::pedantic -W clippy::nursery -D warnings | |
| shell: /usr/bin/bash -e {0} | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_HOME: /home/runner/.cargo | |
| CARGO_INCREMENTAL: 0 | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/utils.rs:154:27 | |
| | | |
| 154 | provider: provider_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `provider_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| = note: `-D clippy::str-to-string` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::str_to_string)]` | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/utils.rs:223:23 | |
| | | |
| 223 | provider: provider_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `provider_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/utils.rs:245:20 | |
| | | |
| 245 | client_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/utils.rs:246:24 | |
| | | |
| 246 | client_secret: client_secret.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `client_secret.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/garmin_provider.rs:76:19 | |
| | | |
| 76 | name: oauth_providers::GARMIN.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::GARMIN.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/garmin_provider.rs:226:35 | |
| | | |
| 226 | _ => SportType::Other(garmin_type.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `garmin_type.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/garmin_provider.rs:282:23 | |
| | | |
| 282 | provider: oauth_providers::GARMIN.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::GARMIN.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/garmin_provider.rs:380:23 | |
| | | |
| 380 | username: garmin_athlete | |
| | _______________________^ | |
| 381 | | .display_name | |
| 382 | | .as_deref() | |
| 383 | | .unwrap_or_default() | |
| 384 | | .to_string(), | |
| | |____________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 380 ~ username: garmin_athlete | |
| 381 + .display_name | |
| 382 + .as_deref() | |
| 383 ~ .unwrap_or_default().to_owned(), | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/garmin_provider.rs:388:23 | |
| | | |
| 388 | provider: oauth_providers::GARMIN.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::GARMIN.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/strava_provider.rs:175:19 | |
| | | |
| 175 | name: oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/strava_provider.rs:264:27 | |
| | | |
| 264 | provider: oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/strava_provider.rs:297:35 | |
| | | |
| 297 | _ => SportType::Other(strava_type.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `strava_type.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/strava_provider.rs:372:23 | |
| | | |
| 372 | provider: oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/strava_provider.rs:521:31 | |
| | | |
| 521 | provider: oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/strava_provider.rs:565:27 | |
| | | |
| 565 | provider: oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/providers/strava_provider.rs:598:23 | |
| | | |
| 598 | provider: oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `format!(..)` appended to existing `String` | |
| --> src/providers/strava_provider.rs:646:25 | |
| | | |
| 646 | endpoint.push_str(&format!("&before={}", timestamp.timestamp())); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: consider using `write!` to avoid the extra allocation | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string | |
| = note: `-D clippy::format-push-string` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::format_push_string)]` | |
| error: `format!(..)` appended to existing `String` | |
| --> src/providers/strava_provider.rs:649:25 | |
| | | |
| 649 | endpoint.push_str(&format!("&after={}", timestamp.timestamp())); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: consider using `write!` to avoid the extra allocation | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string | |
| error: `to_string()` called on a `&str` | |
| --> src/models.rs:754:34 | |
| | | |
| 754 | other => Self::Other(other.to_string()), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `other.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/models.rs:797:34 | |
| | | |
| 797 | other => Self::Other(other.to_string()), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `other.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/pagination.rs:46:18 | |
| | | |
| 46 | let id = parts[1].to_string(); | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `parts[1].to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/environment.rs:147:36 | |
| | | |
| 147 | connection_string: s.to_string(), | |
| | ^^^^^^^^^^^^^ help: try: `s.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/environment.rs:1478:29 | |
| | | |
| 1478 | server_version: env!("CARGO_PKG_VERSION").to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env!("CARGO_PKG_VERSION").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/environment.rs:1582:38 | |
| | | |
| 1582 | env::var(key).unwrap_or_else(|_| default.to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `default.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/environment.rs:1590:18 | |
| | | |
| 1590 | .map(|s| s.trim().to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `s.trim().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/environment.rs:1603:22 | |
| | | |
| 1603 | .map(|s| s.trim().to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `s.trim().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/fitness_config.rs:130:44 | |
| | | |
| 130 | sport_types.insert(proper_key, default_value.to_string()); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `default_value.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/fitness_config.rs:149:18 | |
| | | |
| 149 | _ => key.to_string(), // fallback to original | |
| | ^^^^^^^^^^^^^^^ help: try: `key.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/config/intelligence_config.rs:1317:38 | |
| | | |
| 1317 | consistency_improvement: "Try to maintain a more consistent training schedule" | |
| | ______________________________________^ | |
| 1318 | | .to_string(), | |
| | |____________________________^ help: try: `"Try to maintain a more consistent training schedule".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `panic` should not be present in production code | |
| --> src/constants/mod.rs:27:13 | |
| | | |
| 27 | panic!("Failed to load server configuration: {e}"); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| = note: requested on the command line with `-D clippy::panic` | |
| error: only a `panic!` in `if`-then statement | |
| --> src/constants/mod.rs:30:5 | |
| | | |
| 30 | / if SERVER_CONFIG.set(config).is_err() { | |
| 31 | | panic!("Server configuration already initialized"); | |
| 32 | | } | |
| | |_____^ help: try instead: `assert!(!SERVER_CONFIG.set(config).is_err(), "Server configuration already initialized")` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_assert | |
| = note: `-D clippy::manual-assert` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::manual_assert)]` | |
| error: `panic` should not be present in production code | |
| --> src/constants/mod.rs:31:9 | |
| | | |
| 31 | panic!("Server configuration already initialized"); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: use Option::map_or_else instead of an if let/else | |
| --> src/constants/mod.rs:42:5 | |
| | | |
| 42 | / match SERVER_CONFIG.get() { | |
| 43 | | Some(config) => config, | |
| 44 | | None => { | |
| 45 | | panic!("Server configuration not initialized - call init_server_config() first"); | |
| 46 | | } | |
| 47 | | } | |
| | |_____^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_if_let_else | |
| = note: `-D clippy::option-if-let-else` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::option_if_let_else)]` | |
| help: try | |
| | | |
| 42 ~ SERVER_CONFIG.get().map_or_else(|| { | |
| 43 + panic!("Server configuration not initialized - call init_server_config() first"); | |
| 44 + }, |config| config) | |
| | | |
| error: `panic` should not be present in production code | |
| --> src/constants/mod.rs:45:13 | |
| | | |
| 45 | panic!("Server configuration not initialized - call init_server_config() first"); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: item in documentation is missing backticks | |
| --> src/oauth2_client/client.rs:110:22 | |
| | | |
| 110 | /// Create a new OAuth2 client with the given configuration | |
| | ^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| = note: `-D clippy::doc-markdown` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::doc_markdown)]` | |
| help: try | |
| | | |
| 110 - /// Create a new OAuth2 client with the given configuration | |
| 110 + /// Create a new `OAuth2` client with the given configuration | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:62:30 | |
| | | |
| 62 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:138:22 | |
| | | |
| 138 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:150:22 | |
| | | |
| 150 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:163:22 | |
| | | |
| 163 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:182:22 | |
| | | |
| 182 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:219:22 | |
| | | |
| 219 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:232:22 | |
| | | |
| 232 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/mcp_request_processor.rs:244:22 | |
| | | |
| 244 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:1881:26 | |
| | | |
| 1881 | let mcp_method = mcp_method_str.to_string(); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `mcp_method_str.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2003:48 | |
| | | |
| 2003 | ... jwt_token: token.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2332:26 | |
| | | |
| 2332 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2410:30 | |
| | | |
| 2410 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2417:26 | |
| | | |
| 2417 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2442:30 | |
| | | |
| 2442 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2454:30 | |
| | | |
| 2454 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2468:26 | |
| | | |
| 2468 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2498:26 | |
| | | |
| 2498 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2523:34 | |
| | | |
| 2523 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2550:26 | |
| | | |
| 2550 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2586:25 | |
| | | |
| 2586 | api_key_id: api_key_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `api_key_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2588:24 | |
| | | |
| 2588 | tool_name: tool_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2644:28 | |
| | | |
| 2644 | client_id: id.to_string(), | |
| | ^^^^^^^^^^^^^^ help: try: `id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2645:32 | |
| | | |
| 2645 | client_secret: secret.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `secret.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2683:28 | |
| | | |
| 2683 | client_id: id.to_string(), | |
| | ^^^^^^^^^^^^^^ help: try: `id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2684:32 | |
| | | |
| 2684 | client_secret: secret.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `secret.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2753:22 | |
| | | |
| 2753 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:2989:22 | |
| | | |
| 2989 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:3017:22 | |
| | | |
| 3017 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:3066:26 | |
| | | |
| 3066 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:3089:24 | |
| | | |
| 3089 | tool_name: tool_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/multitenant.rs:3109:34 | |
| | | |
| 3109 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/progress.rs:58:29 | |
| | | |
| 58 | operation_name: operation_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `operation_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/progress.rs:131:21 | |
| | | |
| 131 | progress_token.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `progress_token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/progress.rs:174:21 | |
| | | |
| 174 | progress_token.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `progress_token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/progress.rs:223:21 | |
| | | |
| 223 | progress_token.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `progress_token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/protocol.rs:150:17 | |
| | | |
| 150 | SERVER_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `SERVER_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/protocol.rs:158:17 | |
| | | |
| 158 | SERVER_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `SERVER_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:517:9 | |
| | | |
| 517 | PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:525:9 | |
| | | |
| 525 | LIMIT.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `LIMIT.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:533:9 | |
| | | |
| 533 | OFFSET.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `OFFSET.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:541:15 | |
| | | |
| 541 | name: GET_ACTIVITIES.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GET_ACTIVITIES.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:546:33 | |
| | | |
| 546 | required: Some(vec![PROVIDER.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:556:9 | |
| | | |
| 556 | PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:564:15 | |
| | | |
| 564 | name: GET_ATHLETE.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GET_ATHLETE.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:569:33 | |
| | | |
| 569 | required: Some(vec![PROVIDER.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:579:9 | |
| | | |
| 579 | PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:587:15 | |
| | | |
| 587 | name: GET_STATS.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `GET_STATS.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:592:33 | |
| | | |
| 592 | required: Some(vec![PROVIDER.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:602:9 | |
| | | |
| 602 | PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:610:9 | |
| | | |
| 610 | ACTIVITY_ID.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ACTIVITY_ID.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:634:15 | |
| | | |
| 634 | name: GET_ACTIVITY_INTELLIGENCE.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GET_ACTIVITY_INTELLIGENCE.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:635:22 | |
| | | |
| 635 | description: "Generate AI-powered insights and analysis for a specific activity" | |
| | ______________________^ | |
| 636 | | .to_string(), | |
| | |________________________^ help: try: `"Generate AI-powered insights and analysis for a specific activity".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:640:33 | |
| | | |
| 640 | required: Some(vec![PROVIDER.to_string(), ACTIVITY_ID.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:640:55 | |
| | | |
| 640 | required: Some(vec![PROVIDER.to_string(), ACTIVITY_ID.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ACTIVITY_ID.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:650:15 | |
| | | |
| 650 | name: CONNECT_TO_PIERRE.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `CONNECT_TO_PIERRE.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:676:15 | |
| | | |
| 676 | name: CONNECT_PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `CONNECT_PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:731:15 | |
| | | |
| 731 | name: GET_CONNECTION_STATUS.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GET_CONNECTION_STATUS.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:746:9 | |
| | | |
| 746 | PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:754:15 | |
| | | |
| 754 | name: DISCONNECT_PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `DISCONNECT_PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:759:33 | |
| | | |
| 759 | required: Some(vec![PROVIDER.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:777:15 | |
| | | |
| 777 | name: MARK_NOTIFICATIONS_READ.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `MARK_NOTIFICATIONS_READ.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:791:9 | |
| | | |
| 791 | PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:812:15 | |
| | | |
| 812 | name: ANNOUNCE_OAUTH_SUCCESS.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ANNOUNCE_OAUTH_SUCCESS.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:817:33 | |
| | | |
| 817 | required: Some(vec![PROVIDER.to_string(), "message".to_owned(), "notification_id".to_owned()]), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:847:15 | |
| | | |
| 847 | name: GET_NOTIFICATIONS.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GET_NOTIFICATIONS.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:864:9 | |
| | | |
| 864 | PROVIDER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:872:9 | |
| | | |
| 872 | ACTIVITY_ID.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ACTIVITY_ID.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:880:15 | |
| | | |
| 880 | name: ANALYZE_ACTIVITY.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ANALYZE_ACTIVITY.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:885:33 | |
| | | |
| 885 | required: Some(vec![PROVIDER.to_string(), ACTIVITY_ID.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `PROVIDER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:885:55 | |
| | | |
| 885 | required: Some(vec![PROVIDER.to_string(), ACTIVITY_ID.to_string()]), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `ACTIVITY_ID.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:915:17 | |
| | | |
| 915 | / "Specific metrics to calculate (e.g., ['trimp', 'power_to_weight', 'efficiency'])" | |
| 916 | | .to_string(), | |
| | |________________________________^ help: try: `"Specific metrics to calculate (e.g., ['trimp', 'power_to_weight', 'efficiency'])".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:949:17 | |
| | | |
| 949 | / "Time period for analysis ('week', 'month', 'quarter', 'sixmonths', 'year')" | |
| 950 | | .to_string(), | |
| | |________________________________^ help: try: `"Time period for analysis ('week', 'month', 'quarter', 'sixmonths', 'year')".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:970:22 | |
| | | |
| 970 | description: "Analyze performance trends over time with statistical analysis and insights" | |
| | ______________________^ | |
| 971 | | .to_string(), | |
| | |________________________^ help: try: `"Analyze performance trends over time with statistical analysis and insights".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1005:17 | |
| | | |
| 1005 | / "Type of comparison ('similar_activities', 'personal_best', 'average', 'recent')" | |
| 1006 | | .to_string(), | |
| | |________________________________^ help: try: `"Type of comparison ('similar_activities', 'personal_best', 'average', 'recent')".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1014:13 | |
| | | |
| 1014 | / "Compare an activity against similar activities, personal bests, or historical averages" | |
| 1015 | | .to_string(), | |
| | |____________________________^ help: try: `"Compare an activity against similar activities, personal bests, or historical averages".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1089:17 | |
| | | |
| 1089 | / "Type of goal ('distance', 'time', 'frequency', 'performance', 'custom')" | |
| 1090 | | .to_string(), | |
| | |________________________________^ help: try: `"Type of goal ('distance', 'time', 'frequency', 'performance', 'custom')".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1121:22 | |
| | | |
| 1121 | description: "Create and manage fitness goals with tracking and progress monitoring" | |
| | ______________________^ | |
| 1122 | | .to_string(), | |
| | |________________________^ help: try: `"Create and manage fitness goals with tracking and progress monitoring".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1176:17 | |
| | | |
| 1176 | / "Category of goals to suggest ('distance', 'performance', 'consistency', 'all')" | |
| 1177 | | .to_string(), | |
| | |________________________________^ help: try: `"Category of goals to suggest ('distance', 'performance', 'consistency', 'all')".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1233:17 | |
| | | |
| 1233 | / "Type of recommendations ('training', 'recovery', 'nutrition', 'equipment', 'all')" | |
| 1234 | | .to_string(), | |
| | |________________________________^ help: try: `"Type of recommendations ('training', 'recovery', 'nutrition', 'equipment', 'all')".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1250:13 | |
| | | |
| 1250 | / "Generate personalized training recommendations based on activity data and user profile" | |
| 1251 | | .to_string(), | |
| | |____________________________^ help: try: `"Generate personalized training recommendations based on activity data and user profile".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1363:13 | |
| | | |
| 1363 | / "Analyze training load balance, recovery needs, and load distribution over time" | |
| 1364 | | .to_string(), | |
| | |____________________________^ help: try: `"Analyze training load balance, recovery needs, and load distribution over time".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1404:13 | |
| | | |
| 1404 | / "Get current user's configuration including active profile and parameter overrides" | |
| 1405 | | .to_string(), | |
| | |____________________________^ help: try: `"Get current user's configuration including active profile and parameter overrides".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1436:22 | |
| | | |
| 1436 | description: "Update user's configuration by applying a profile and/or parameter overrides" | |
| | ______________________^ | |
| 1437 | | .to_string(), | |
| | |________________________^ help: try: `"Update user's configuration by applying a profile and/or parameter overrides".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1479:17 | |
| | | |
| 1479 | / "Lactate threshold as percentage of VO2 max (optional, defaults to 0.85)" | |
| 1480 | | .to_string(), | |
| | |________________________________^ help: try: `"Lactate threshold as percentage of VO2 max (optional, defaults to 0.85)".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1519:13 | |
| | | |
| 1519 | / "Validate configuration parameters for physiological limits and scientific bounds" | |
| 1520 | | .to_string(), | |
| | |____________________________^ help: try: `"Validate configuration parameters for physiological limits and scientific bounds".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1532:15 | |
| | | |
| 1532 | name: CHECK_OAUTH_NOTIFICATIONS.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `CHECK_OAUTH_NOTIFICATIONS.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1559:15 | |
| | | |
| 1559 | name: GET_FITNESS_CONFIG.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `GET_FITNESS_CONFIG.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1592:15 | |
| | | |
| 1592 | name: SET_FITNESS_CONFIG.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `SET_FITNESS_CONFIG.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1605:15 | |
| | | |
| 1605 | name: LIST_FITNESS_CONFIGS.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `LIST_FITNESS_CONFIGS.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/schema.rs:1628:15 | |
| | | |
| 1628 | name: DELETE_FITNESS_CONFIG.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `DELETE_FITNESS_CONFIG.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/sse_transport.rs:63:25 | |
| | | |
| 63 | event_type: event_type.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `event_type.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/sse_transport.rs:106:59 | |
| | | |
| 106 | McpResponse::error(Some(Value::Null), -32603, error_message.to_string()); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `error_message.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:282:13 | |
| | | |
| 282 | error_msg.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `error_msg.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:305:30 | |
| | | |
| 305 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:333:34 | |
| | | |
| 333 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:348:30 | |
| | | |
| 348 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:396:30 | |
| | | |
| 396 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:400:34 | |
| | | |
| 400 | message: "No tenant context found. User must be assigned to a tenant." | |
| | __________________________________^ | |
| 401 | | .to_string(), | |
| | |________________________________________^ help: try: `"No tenant context found. User must be assigned to a tenant.".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:504:42 | |
| | | |
| 504 | ... jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:515:42 | |
| | | |
| 515 | ... jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:529:38 | |
| | | |
| 529 | ... jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:550:34 | |
| | | |
| 550 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:562:38 | |
| | | |
| 562 | ... jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:640:30 | |
| | | |
| 640 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:655:30 | |
| | | |
| 655 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:705:22 | |
| | | |
| 705 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:737:34 | |
| | | |
| 737 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:775:34 | |
| | | |
| 775 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:790:30 | |
| | | |
| 790 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:820:34 | |
| | | |
| 820 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:833:30 | |
| | | |
| 833 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:846:30 | |
| | | |
| 846 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:899:26 | |
| | | |
| 899 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:928:26 | |
| | | |
| 928 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:943:34 | |
| | | |
| 943 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:953:34 | |
| | | |
| 953 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:965:38 | |
| | | |
| 965 | ... jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:980:30 | |
| | | |
| 980 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1013:38 | |
| | | |
| 1013 | ... jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1027:30 | |
| | | |
| 1027 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1044:26 | |
| | | |
| 1044 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1056:30 | |
| | | |
| 1056 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1105:22 | |
| | | |
| 1105 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1124:26 | |
| | | |
| 1124 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1140:26 | |
| | | |
| 1140 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1149:26 | |
| | | |
| 1149 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/mcp/tool_handlers.rs:1161:30 | |
| | | |
| 1161 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `format!(..)` appended to existing `String` | |
| --> src/intelligence/analyzer.rs:455:13 | |
| | | |
| 455 | summary.push_str(&format!(". During this {distance_km:.1} km session")); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: consider using `write!` to avoid the extra allocation | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string | |
| error: item in documentation is missing backticks | |
| --> src/intelligence/location.rs:264:38 | |
| | | |
| 264 | /// Returns cache statistics as (total_entries, expired_entries) | |
| | ^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 264 - /// Returns cache statistics as (total_entries, expired_entries) | |
| 264 + /// Returns cache statistics as (`total_entries`, expired_entries) | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/intelligence/location.rs:264:53 | |
| | | |
| 264 | /// Returns cache statistics as (total_entries, expired_entries) | |
| | ^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 264 - /// Returns cache statistics as (total_entries, expired_entries) | |
| 264 + /// Returns cache statistics as (total_entries, `expired_entries`) | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/intelligence/weather.rs:92:30 | |
| | | |
| 92 | /// Hourly weather data from OpenWeatherMap API | |
| | ^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 92 - /// Hourly weather data from OpenWeatherMap API | |
| 92 + /// Hourly weather data from `OpenWeatherMap` API | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/intelligence/weather.rs:107:40 | |
| | | |
| 107 | /// Weather condition description from OpenWeatherMap | |
| | ^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 107 - /// Weather condition description from OpenWeatherMap | |
| 107 + /// Weather condition description from `OpenWeatherMap` | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/goal_engine.rs:277:28 | |
| | | |
| 277 | sport: sport.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `sport.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/goal_engine.rs:325:28 | |
| | | |
| 325 | sport: sport.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `sport.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/goal_engine.rs:607:23 | |
| | | |
| 607 | name: names[i].to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `names[i].to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/performance_analyzer.rs:449:21 | |
| | | |
| 449 | metric: metric.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `metric.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/performance_analyzer.rs:775:25 | |
| | | |
| 775 | / "Your strategy suggests this is a good time to increase training volume" | |
| 776 | | .to_string(), | |
| | |________________________________________^ help: try: `"Your strategy suggests this is a good time to increase training volume".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/recommendation_engine.rs:709:28 | |
| | | |
| 709 | rationale: "Regular rest days are essential for physical and mental recovery." | |
| | ____________________________^ | |
| 710 | | .to_string(), | |
| | |________________________________^ help: try: `"Regular rest days are essential for physical and mental recovery.".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: this could be rewritten as `let...else` | |
| --> src/intelligence/pattern_detection.rs:526:9 | |
| | | |
| 526 | / let first_date = match activities.iter().map(|a| a.start_date).min() { | |
| 527 | | Some(date) => date, | |
| 528 | | None => return Vec::new(), | |
| 529 | | }; | |
| | |__________^ help: consider writing: `let Some(first_date) = activities.iter().map(|a| a.start_date).min() else { return Vec::new() };` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_let_else | |
| = note: `-D clippy::manual-let-else` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::manual_let_else)]` | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/performance_prediction.rs:131:36 | |
| | | |
| 131 | predictions.insert(name.to_string(), predicted_time); | |
| | ^^^^^^^^^^^^^^^^ help: try: `name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/recovery_calculator.rs:504:17 | |
| | | |
| 504 | / "Focus on mobility, stretching, or yoga instead of traditional training" | |
| 505 | | .to_string(), | |
| | |________________________________^ help: try: `"Focus on mobility, stretching, or yoga instead of traditional training".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/sleep_analysis.rs:464:21 | |
| | | |
| 464 | / "Improve sleep efficiency with consistent sleep schedule and dark room" | |
| 465 | | .to_string(), | |
| | |____________________________________^ help: try: `"Improve sleep efficiency with consistent sleep schedule and dark room".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/sleep_analysis.rs:473:17 | |
| | | |
| 473 | / "Consider sleep hygiene: limit screen time 1h before bed, cool room (65-68°F)" | |
| 474 | | .to_string(), | |
| | |________________________________^ help: try: `"Consider sleep hygiene: limit screen time 1h before bed, cool room (65-68°F)".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/sleep_analysis.rs:624:21 | |
| | | |
| 624 | / "Elevated HRV indicates good recovery - ready for high-intensity training" | |
| 625 | | .to_string(), | |
| | |____________________________________^ help: try: `"Elevated HRV indicates good recovery - ready for high-intensity training".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/sleep_analysis.rs:634:21 | |
| | | |
| 634 | / "Decreased HRV suggests fatigue - consider reducing training intensity" | |
| 635 | | .to_string(), | |
| | |____________________________________^ help: try: `"Decreased HRV suggests fatigue - consider reducing training intensity".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/sleep_analysis.rs:640:21 | |
| | | |
| 640 | / "Significantly decreased HRV indicates high fatigue - prioritize recovery" | |
| 641 | | .to_string(), | |
| | |____________________________________^ help: try: `"Significantly decreased HRV indicates high fatigue - prioritize recovery".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/algorithms/ftp.rs:268:17 | |
| | | |
| 268 | / "Time trials should differ by at least 50% in duration for accurate CP estimation" | |
| 269 | | .to_string(), | |
| | |________________________________^ help: try: `"Time trials should differ by at least 50% in duration for accurate CP estimation".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/intelligence/algorithms/ftp.rs:329:17 | |
| | | |
| 329 | / "Average power must exceed FTP to calculate W' from supra-threshold effort" | |
| 330 | | .to_string(), | |
| | |________________________________^ help: try: `"Average power must exceed FTP to calculate W' from supra-threshold effort".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: item in documentation is missing backticks | |
| --> src/intelligence/algorithms/mod.rs:30:25 | |
| | | |
| 30 | /// Maximum Heart Rate (MaxHR) calculation methods | |
| | ^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 30 - /// Maximum Heart Rate (MaxHR) calculation methods | |
| 30 + /// Maximum Heart Rate (`MaxHR`) calculation methods | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/intelligence/algorithms/mod.rs:42:5 | |
| | | |
| 42 | /// VO2max estimation algorithms | |
| | ^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 42 - /// VO2max estimation algorithms | |
| 42 + /// `VO2max` estimation algorithms | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/intelligence/algorithms/mod.rs:63:5 | |
| | | |
| 63 | /// VO2max estimation algorithm | |
| | ^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 63 - /// VO2max estimation algorithm | |
| 63 + /// `VO2max` estimation algorithm | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:108:26 | |
| | | |
| 108 | description: "Heart rate zones, lactate thresholds, and VO2 max calculations" | |
| | __________________________^ | |
| 109 | | .to_string(), | |
| | |____________________________^ help: try: `"Heart rate zones, lactate thresholds, and VO2 max calculations".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:393:34 | |
| | | |
| 393 | description: "VO2 max threshold for zone 6 availability (elite athletes)" | |
| | __________________________________^ | |
| 394 | | .to_string(), | |
| | |____________________________________^ help: try: `"VO2 max threshold for zone 6 availability (elite athletes)".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:707:34 | |
| | | |
| 707 | description: "FTP percentage for intermediate athletes (VO2 max >= 40)" | |
| | __________________________________^ | |
| 708 | | .to_string(), | |
| | |____________________________________^ help: try: `"FTP percentage for intermediate athletes (VO2 max >= 40)".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:742:26 | |
| | | |
| 742 | description: "Effort scoring, efficiency calculations, and performance metrics" | |
| | __________________________^ | |
| 743 | | .to_string(), | |
| | |____________________________^ help: try: `"Effort scoring, efficiency calculations, and performance metrics".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:752:33 | |
| | | |
| 752 | / ... "Divisor for normalizing running distance in effort calculation" | |
| 753 | | ... .to_string(), | |
| | |______________________________________^ help: try: `"Divisor for normalizing running distance in effort calculation".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:767:33 | |
| | | |
| 767 | / ... "Divisor for normalizing cycling distance in effort calculation" | |
| 768 | | ... .to_string(), | |
| | |______________________________________^ help: try: `"Divisor for normalizing cycling distance in effort calculation".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:782:33 | |
| | | |
| 782 | / ... "Divisor for normalizing swimming distance in effort calculation" | |
| 783 | | ... .to_string(), | |
| | |______________________________________^ help: try: `"Divisor for normalizing swimming distance in effort calculation".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/catalog.rs:793:42 | |
| | | |
| 793 | ... description: "Divisor for elevation gain in effort calculation" | |
| | ____________________________________^ | |
| 794 | | ... .to_string(), | |
| | |______________________________________^ help: try: `"Divisor for elevation gain in effort calculation".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/runtime.rs:225:13 | |
| | | |
| 225 | key.to_string(), | |
| | ^^^^^^^^^^^^^^^ help: try: `key.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/runtime.rs:231:39 | |
| | | |
| 231 | self.session_overrides.insert(key.to_string(), value); | |
| | ^^^^^^^^^^^^^^^ help: try: `key.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/validation.rs:220:33 | |
| | | |
| 220 | .insert(zone_name.to_string(), *new_value); | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `zone_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/validation.rs:276:37 | |
| | | |
| 276 | / ... "Heart rate percentage too low for meaningful training" | |
| 277 | | ... .to_string(), | |
| | |______________________________________^ help: try: `"Heart rate percentage too low for meaningful training".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/validation.rs:294:45 | |
| | | |
| 294 | / ... "Heart rate target may be too high for age group" | |
| 295 | | ... .to_string(), | |
| | |______________________________________^ help: try: `"Heart rate target may be too high for age group".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration/validation.rs:407:33 | |
| | | |
| 407 | / ... "Lactate threshold and HR anaerobic threshold should be within 10%" | |
| 408 | | ... .to_string(), | |
| | |______________________________________^ help: try: `"Lactate threshold and HR anaerobic threshold should be within 10%".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration_routes.rs:415:73 | |
| | | |
| 415 | ... ConfigValue::String(str_val.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `str_val.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration_routes.rs:475:63 | |
| | | |
| 475 | config.set_override(&key, ConfigValue::String(str_val.to_string())) | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `str_val.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/configuration_routes.rs:592:77 | |
| | | |
| 592 | ... (k.clone(), ConfigValue::String(str_val.to_string())) | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `str_val.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/fitness_configuration_routes.rs:228:33 | |
| | | |
| 228 | configuration_name: configuration_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `configuration_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/jsonrpc/mod.rs:147:22 | |
| | | |
| 147 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/jsonrpc/mod.rs:161:22 | |
| | | |
| 161 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/jsonrpc/mod.rs:175:22 | |
| | | |
| 175 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/jsonrpc/mod.rs:204:22 | |
| | | |
| 204 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/jsonrpc/mod.rs:215:22 | |
| | | |
| 215 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/jsonrpc/mod.rs:235:22 | |
| | | |
| 235 | jsonrpc: JSONRPC_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `JSONRPC_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/agent_card.rs:120:30 | |
| | | |
| 120 | description: "Retrieve user fitness activities from connected providers" | |
| | ______________________________^ | |
| 121 | | .to_string(), | |
| | |________________________________^ help: try: `"Retrieve user fitness activities from connected providers".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/auth.rs:206:13 | |
| | | |
| 206 | / token_claims | |
| 207 | | .sub | |
| 208 | | .strip_prefix("a2a_client_") | |
| 209 | | .ok_or_else(|| { | |
| 210 | | AppError::auth_invalid("Failed to strip a2a_client_ prefix from token subject") | |
| 211 | | })? | |
| 212 | | .to_string() | |
| | |____________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 206 ~ token_claims | |
| 207 + .sub | |
| 208 + .strip_prefix("a2a_client_") | |
| 209 + .ok_or_else(|| { | |
| 210 + AppError::auth_invalid("Failed to strip a2a_client_ prefix from token subject") | |
| 211 + })?.to_owned() | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/auth.rs:298:24 | |
| | | |
| 298 | .contains(&requested_capability.to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `requested_capability.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/auth.rs:305:24 | |
| | | |
| 305 | client_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/auth.rs:306:22 | |
| | | |
| 306 | user_id: user_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `user_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/auth.rs:332:32 | |
| | | |
| 332 | token.scopes.contains(&required_scope.to_string()) || token.scopes.contains(&"*".into()) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `required_scope.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/client.rs:385:70 | |
| | | |
| 385 | .ok_or_else(|| crate::a2a::A2AError::ClientNotRegistered(client_id.to_string()))?; | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/client.rs:487:24 | |
| | | |
| 487 | client_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/client.rs:520:24 | |
| | | |
| 520 | client_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/client.rs:611:24 | |
| | | |
| 611 | client_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/client.rs:613:24 | |
| | | |
| 613 | tool_name: method.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `method.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `String` | |
| --> src/a2a/client.rs:785:28 | |
| | | |
| 785 | client_id: id.to_string(), | |
| | ^^^^^^^^^^^^^^ | |
| | | |
| = help: consider using `.clone()` | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_to_string | |
| = note: `-D clippy::string-to-string` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(clippy::string_to_string)]` | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/protocol.rs:265:22 | |
| | | |
| 265 | version: crate::a2a::A2A_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::a2a::A2A_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/protocol.rs:276:22 | |
| | | |
| 276 | version: crate::a2a::A2A_VERSION.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::a2a::A2A_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/protocol.rs:403:14 | |
| | | |
| 403 | (crate::a2a::A2A_VERSION.to_string(), "unknown".to_owned()) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::a2a::A2A_VERSION.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/protocol.rs:452:30 | |
| | | |
| 452 | message: "Authentication token required for OAuth credential storage" | |
| | ______________________________^ | |
| 453 | | .to_string(), | |
| | |____________________________________^ help: try: `"Authentication token required for OAuth credential storage".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/protocol.rs:550:25 | |
| | | |
| 550 | let client_id = params | |
| | _________________________^ | |
| 551 | | .get("client_id") | |
| 552 | | .and_then(|v| v.as_str()) | |
| 553 | | .unwrap_or("unknown") | |
| 554 | | .to_string(); | |
| | |________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 550 ~ let client_id = params | |
| 551 + .get("client_id") | |
| 552 + .and_then(|v| v.as_str()) | |
| 553 ~ .unwrap_or("unknown").to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/protocol.rs:555:25 | |
| | | |
| 555 | let task_type = params | |
| | _________________________^ | |
| 556 | | .get("task_type") | |
| 557 | | .or_else(|| params.get("type")) | |
| 558 | | .and_then(|v| v.as_str()) | |
| 559 | | .unwrap_or("generic") | |
| 560 | | .to_string(); | |
| | |________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 555 ~ let task_type = params | |
| 556 + .get("task_type") | |
| 557 + .or_else(|| params.get("type")) | |
| 558 + .and_then(|v| v.as_str()) | |
| 559 ~ .unwrap_or("generic").to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a/protocol.rs:864:24 | |
| | | |
| 864 | tool_name: tool_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a_routes.rs:109:12 | |
| | | |
| 109 | Ok(token.to_string()) | |
| | ^^^^^^^^^^^^^^^^^ help: try: `token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/a2a_routes.rs:425:24 | |
| | | |
| 425 | tool_name: tool_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database/a2a.rs:1250:24 | |
| | | |
| 1250 | client_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database/api_keys.rs:257:30 | |
| | | |
| 257 | bind_values.push(t.as_str().to_string()); | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `t.as_str().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database/api_keys.rs:262:30 | |
| | | |
| 262 | bind_values.push(if active { "1" } else { "0" }.to_string()); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if active { "1" } else { "0" }.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database/api_keys.rs:473:25 | |
| | | |
| 473 | api_key_id: api_key_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `api_key_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database/mod.rs:56:13 | |
| | | |
| 56 | database_url.to_string() | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `database_url.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/factory.rs:68:32 | |
| | | |
| 68 | Self::SQLite(_) => "Database Backend: SQLite\n\ | |
| | ________________________________^ | |
| 69 | | Type: Embedded file-based database\n\ | |
| 70 | | Use Case: Local development and testing\n\ | |
| 71 | | Features: Zero-configuration, serverless, lightweight" | |
| 72 | | .to_string(), | |
| | |____________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 68 ~ Self::SQLite(_) => "Database Backend: SQLite\n\ | |
| 69 + Type: Embedded file-based database\n\ | |
| 70 + Use Case: Local development and testing\n\ | |
| 71 ~ Features: Zero-configuration, serverless, lightweight".to_owned(), | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/factory.rs:74:36 | |
| | | |
| 74 | Self::PostgreSQL(_) => "Database Backend: PostgreSQL\n\ | |
| | ____________________________________^ | |
| 75 | | Type: Client-server relational database\n\ | |
| 76 | | Use Case: Production and cloud deployments\n\ | |
| 77 | | Features: Concurrent access, advanced queries, scalability" | |
| 78 | | .to_string(), | |
| | |____________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 74 ~ Self::PostgreSQL(_) => "Database Backend: PostgreSQL\n\ | |
| 75 + Type: Client-server relational database\n\ | |
| 76 + Use Case: Production and cloud deployments\n\ | |
| 77 ~ Features: Concurrent access, advanced queries, scalability".to_owned(), | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/sqlite.rs:921:25 | |
| | | |
| 921 | token_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `token_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/sqlite.rs:1131:28 | |
| | | |
| 1131 | entity_id: slug.to_string(), | |
| | ^^^^^^^^^^^^^^^^ help: try: `slug.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/sqlite.rs:1408:28 | |
| | | |
| 1408 | entity_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/sqlite.rs:2012:28 | |
| | | |
| 2012 | entity_id: code.to_string(), | |
| | ^^^^^^^^^^^^^^^^ help: try: `code.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/sqlite.rs:2330:25 | |
| | | |
| 2330 | let mut query = r" | |
| | _________________________^ | |
| 2331 | | SELECT id, event_type, severity, message, source, result, | |
| 2332 | | tenant_id, user_id, ip_address, user_agent, metadata, timestamp | |
| 2333 | | FROM audit_events | |
| 2334 | | WHERE 1=1 | |
| 2335 | | " | |
| 2336 | | .to_string(); | |
| | |____________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 2330 ~ let mut query = r" | |
| 2331 + SELECT id, event_type, severity, message, source, result, | |
| 2332 + tenant_id, user_id, ip_address, user_agent, metadata, timestamp | |
| 2333 + FROM audit_events | |
| 2334 + WHERE 1=1 | |
| 2335 ~ ".to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:1352:25 | |
| | | |
| 1352 | api_key_id: api_key_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `api_key_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:1719:28 | |
| | | |
| 1719 | entity_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:2179:24 | |
| | | |
| 2179 | client_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:2936:28 | |
| | | |
| 2936 | entity_id: slug.to_string(), | |
| | ^^^^^^^^^^^^^^^^ help: try: `slug.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:3209:31 | |
| | | |
| 3209 | provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:3319:28 | |
| | | |
| 3319 | entity_id: client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:3467:28 | |
| | | |
| 3467 | entity_id: code.to_string(), | |
| | ^^^^^^^^^^^^^^^^ help: try: `code.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/database_plugins/postgres.rs:3836:25 | |
| | | |
| 3836 | let mut query = r" | |
| | _________________________^ | |
| 3837 | | SELECT id, event_type, severity, message, source, result, | |
| 3838 | | tenant_id, user_id, ip_address, user_agent, metadata, timestamp | |
| 3839 | | FROM audit_events | |
| 3840 | | WHERE true | |
| 3841 | | " | |
| 3842 | | .to_string(); | |
| | |____________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 3836 ~ let mut query = r" | |
| 3837 + SELECT id, event_type, severity, message, source, result, | |
| 3838 + tenant_id, user_id, ip_address, user_agent, metadata, timestamp | |
| 3839 + FROM audit_events | |
| 3840 + WHERE true | |
| 3841 ~ ".to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/auth.rs:225:18 | |
| | | |
| 225 | iss: crate::constants::service_names::PIERRE_MCP_SERVER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::constants::service_names::PIERRE_MCP_SERVER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/auth.rs:228:18 | |
| | | |
| 228 | aud: crate::constants::service_names::MCP.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::constants::service_names::MCP.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/auth.rs:551:25 | |
| | | |
| 551 | / "Unable to verify admin user status. Please check database connection." | |
| 552 | | .to_string(), | |
| | |________________________________________^ help: try: `"Unable to verify admin user status. Please check database connection.".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/auth.rs:586:18 | |
| | | |
| 586 | iss: crate::constants::service_names::PIERRE_MCP_SERVER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::constants::service_names::PIERRE_MCP_SERVER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/auth.rs:589:18 | |
| | | |
| 589 | aud: crate::constants::service_names::MCP.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::constants::service_names::MCP.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/auth.rs:632:18 | |
| | | |
| 632 | iss: crate::constants::service_names::PIERRE_MCP_SERVER.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::constants::service_names::PIERRE_MCP_SERVER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/auth.rs:635:18 | |
| | | |
| 635 | aud: crate::constants::service_names::MCP.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::constants::service_names::MCP.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/routes/admin.rs:75:31 | |
| | | |
| 75 | admin_jwt_secret: jwt_secret.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `jwt_secret.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/routes/auth.rs:398:23 | |
| | | |
| 398 | provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/routes/auth.rs:510:34 | |
| | | |
| 510 | scopes: vec![crate::constants::oauth::STRAVA_DEFAULT_SCOPES.to_string()], | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `crate::constants::oauth::STRAVA_DEFAULT_SCOPES.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/routes/auth.rs:534:23 | |
| | | |
| 534 | provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/routes/auth.rs:582:23 | |
| | | |
| 582 | provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/routes/auth.rs:803:31 | |
| | | |
| 803 | provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/routes/auth.rs:1172:43 | |
| | | |
| 1172 | ... provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: item in documentation is missing backticks | |
| --> src/routes/mod.rs:79:29 | |
| | | |
| 79 | /// OAuth routes (alias for OAuthService) | |
| | ^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 79 - /// OAuth routes (alias for OAuthService) | |
| 79 + /// OAuth routes (alias for `OAuthService`) | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/tenant_routes.rs:207:21 | |
| | | |
| 207 | /// Grant type (authorization_code, client_credentials) | |
| | ^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 207 - /// Grant type (authorization_code, client_credentials) | |
| 207 + /// Grant type (`authorization_code`, client_credentials) | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/tenant_routes.rs:207:41 | |
| | | |
| 207 | /// Grant type (authorization_code, client_credentials) | |
| | ^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 207 - /// Grant type (authorization_code, client_credentials) | |
| 207 + /// Grant type (authorization_code, `client_credentials`) | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/tenant_routes.rs:209:33 | |
| | | |
| 209 | /// Authorization code (for authorization_code grant) | |
| | ^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 209 - /// Authorization code (for authorization_code grant) | |
| 209 + /// Authorization code (for `authorization_code` grant) | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/logging.rs:82:30 | |
| | | |
| 82 | service_version: env!("CARGO_PKG_VERSION").to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env!("CARGO_PKG_VERSION").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/logging.rs:120:37 | |
| | | |
| 120 | .unwrap_or_else(|_| env!("CARGO_PKG_VERSION").to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env!("CARGO_PKG_VERSION").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/logging.rs:307:30 | |
| | | |
| 307 | service_version: env!("CARGO_PKG_VERSION").to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env!("CARGO_PKG_VERSION").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/auth.rs:247:39 | |
| | | |
| 247 | Ok(claims.providers.contains(&provider.to_string())) | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:157:28 | |
| | | |
| 157 | .map(|(k, v)| (k.to_string(), v.to_string())) | |
| | ^^^^^^^^^^^^^ help: try: `k.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:157:43 | |
| | | |
| 157 | .map(|(k, v)| (k.to_string(), v.to_string())) | |
| | ^^^^^^^^^^^^^ help: try: `v.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:168:17 | |
| | | |
| 168 | value.to_string() | |
| | ^^^^^^^^^^^^^^^^^ help: try: `value.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:170:14 | |
| | | |
| 170 | (name.to_string(), redacted_value) | |
| | ^^^^^^^^^^^^^^^^ help: try: `name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:188:16 | |
| | | |
| 188 | return text.to_string(); | |
| | ^^^^^^^^^^^^^^^^ help: try: `text.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:191:22 | |
| | | |
| 191 | let mut result = text.to_string(); | |
| | ^^^^^^^^^^^^^^^^ help: try: `text.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:237:20 | |
| | | |
| 237 | || full_match.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `full_match.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:245:25 | |
| | | |
| 245 | local.to_string() | |
| | ^^^^^^^^^^^^^^^^^ help: try: `local.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:249:28 | |
| | | |
| 249 | || domain.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `domain.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:255:33 | |
| | | |
| 255 | ... domain.to_string() | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `domain.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:285:16 | |
| | | |
| 285 | return text.to_string(); | |
| | ^^^^^^^^^^^^^^^^ help: try: `text.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:288:22 | |
| | | |
| 288 | let mut result = text.to_string(); | |
| | ^^^^^^^^^^^^^^^^ help: try: `text.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `panic` should not be present in production code | |
| --> src/middleware/redaction.rs:402:23 | |
| | | |
| 402 | Err(e) => panic!("Invalid email regex pattern: {e}"), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:439:25 | |
| | | |
| 439 | name.as_str().to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `name.as_str().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/middleware/redaction.rs:440:25 | |
| | | |
| 440 | value.to_str().unwrap_or("").to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `value.to_str().unwrap_or("").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/health.rs:138:22 | |
| | | |
| 138 | version: env!("CARGO_PKG_VERSION").to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env!("CARGO_PKG_VERSION").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/health.rs:189:22 | |
| | | |
| 189 | version: env!("CARGO_PKG_VERSION").to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env!("CARGO_PKG_VERSION").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/websocket.rs:265:13 | |
| | | |
| 265 | token.to_string() | |
| | ^^^^^^^^^^^^^^^^^ help: try: `token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/websocket.rs:285:25 | |
| | | |
| 285 | api_key_id: api_key_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `api_key_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/websocket.rs:321:77 | |
| | | |
| 321 | if client.user_id == *user_id && client.subscriptions.contains(&topic.to_string()) { | |
| | ^^^^^^^^^^^^^^^^^ help: try: `topic.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/websocket.rs:347:47 | |
| | | |
| 347 | if client.subscriptions.contains(&topic.to_string()) { | |
| | ^^^^^^^^^^^^^^^^^ help: try: `topic.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/security/audit.rs:366:13 | |
| | | |
| 366 | action.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `action.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/security/audit.rs:411:13 | |
| | | |
| 411 | result.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `result.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/security/audit.rs:465:13 | |
| | | |
| 465 | if success { "success" } else { "failure" }.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if success { "success" } else { "failure" }.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/security/audit.rs:523:13 | |
| | | |
| 523 | operation.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `operation.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/security/audit.rs:524:13 | |
| | | |
| 524 | if success { "success" } else { "failure" }.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if success { "success" } else { "failure" }.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/security/mod.rs:549:21 | |
| | | |
| 549 | scopes: scopes.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `scopes.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/auth.rs:187:29 | |
| | | |
| 187 | admin_token_id: admin_token_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `admin_token_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwks.rs:127:18 | |
| | | |
| 127 | kid: kid.to_string(), | |
| | ^^^^^^^^^^^^^^^ help: try: `kid.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwks.rs:199:18 | |
| | | |
| 199 | kid: kid.to_string(), | |
| | ^^^^^^^^^^^^^^^ help: try: `kid.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `panic` should not be present in production code | |
| --> src/admin/jwks.rs:216:23 | |
| | | |
| 216 | Err(e) => panic!("Failed to export private key: {e}"), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/admin/jwks.rs:220:23 | |
| | | |
| 220 | Err(e) => panic!("Failed to create encoding key: {e}"), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/admin/jwks.rs:233:23 | |
| | | |
| 233 | Err(e) => panic!("Failed to export public key: {e}"), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/admin/jwks.rs:237:23 | |
| | | |
| 237 | Err(e) => panic!("Failed to create decoding key: {e}"), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwks.rs:289:35 | |
| | | |
| 289 | self.active_key_id = Some(kid.to_string()); | |
| | ^^^^^^^^^^^^^^^ help: try: `kid.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwks.rs:290:26 | |
| | | |
| 290 | self.keys.insert(kid.to_string(), key_pair); | |
| | ^^^^^^^^^^^^^^^ help: try: `kid.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwks.rs:344:39 | |
| | | |
| 344 | self.active_key_id = Some(kid.to_string()); | |
| | ^^^^^^^^^^^^^^^ help: try: `kid.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwks.rs:347:26 | |
| | | |
| 347 | self.keys.insert(kid.to_string(), key_pair); | |
| | ^^^^^^^^^^^^^^^ help: try: `kid.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwt.rs:79:18 | |
| | | |
| 79 | sub: token_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `token_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwt.rs:84:18 | |
| | | |
| 84 | jti: token_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `token_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin/jwt.rs:87:27 | |
| | | |
| 87 | service_name: service_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `service_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin_routes.rs:68:31 | |
| | | |
| 68 | admin_jwt_secret: jwt_secret.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `jwt_secret.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin_routes.rs:499:32 | |
| | | |
| 499 | |real_ip| Some(real_ip.trim().to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `real_ip.trim().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin_routes.rs:504:44 | |
| | | |
| 504 | xff.split(',').next().map(|ip| ip.trim().to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `ip.trim().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin_routes.rs:631:21 | |
| | | |
| 631 | period: period_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `period_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin_routes.rs:1191:18 | |
| | | |
| 1191 | message: message.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `message.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `format!(..)` appended to existing `String` | |
| --> src/admin_routes.rs:1827:17 | |
| | | |
| 1827 | success_message.push_str(&format!(" and default tenant '{}' created", tenant.name)); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: consider using `write!` to avoid the extra allocation | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin_routes.rs:2059:15 | |
| | | |
| 2059 | name: tenant_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `tenant_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/admin_routes.rs:2062:15 | |
| | | |
| 2062 | plan: tiers::STARTER.to_string(), // Default plan for auto-created tenants | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `tiers::STARTER.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/converter.rs:40:17 | |
| | | |
| 40 | / request | |
| 41 | | .params | |
| 42 | | .as_ref() | |
| 43 | | .and_then(|p| p.get("tool")) | |
| ... | | |
| 49 | | })? | |
| 50 | | .to_string() | |
| | |________________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 40 ~ request | |
| 41 + .params | |
| 42 + .as_ref() | |
| 43 + .and_then(|p| p.get("tool")) | |
| 44 + .and_then(|t| t.as_str()) | |
| 45 + .ok_or_else(|| { | |
| 46 + crate::protocols::ProtocolError::InvalidParameters( | |
| 47 + "Tool name not found in A2A request".into(), | |
| 48 + ) | |
| 49 + })?.to_owned() | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/converter.rs:70:22 | |
| | | |
| 70 | user_id: user_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `user_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/converter.rs:112:22 | |
| | | |
| 112 | user_id: user_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `user_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/converter.rs:208:24 | |
| | | |
| 208 | let name = format!( | |
| | ________________________^ | |
| 209 | | "{} {}", | |
| 210 | | athlete | |
| 211 | | .get("firstname") | |
| ... | | |
| 219 | | .trim() | |
| 220 | | .to_string(); | |
| | |________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 208 ~ let name = format!( | |
| 209 + "{} {}", | |
| 210 + athlete | |
| 211 + .get("firstname") | |
| 212 + .and_then(Value::as_str) | |
| 213 + .unwrap_or(""), | |
| 214 + athlete | |
| 215 + .get("lastname") | |
| 216 + .and_then(Value::as_str) | |
| 217 + .unwrap_or("") | |
| 218 + ) | |
| 219 ~ .trim().to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/auth_service.rs:117:35 | |
| | | |
| 117 | provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/executor.rs:373:17 | |
| | | |
| 373 | tool_id.name().to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_id.name().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/executor.rs:374:17 | |
| | | |
| 374 | tool_id.description().to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_id.description().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:35:17 | |
| | | |
| 35 | "catalog_type".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"catalog_type".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:36:43 | |
| | | |
| 36 | serde_json::Value::String("complete".to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `"complete".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:39:17 | |
| | | |
| 39 | "parameter_count".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"parameter_count".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:79:17 | |
| | | |
| 79 | "profile_count".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"profile_count".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:150:17 | |
| | | |
| 150 | "user_id".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `"user_id".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:153:24 | |
| | | |
| 153 | map.insert(metadata_key.to_string(), serde_json::Value::Bool(true)); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `metadata_key.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:275:29 | |
| | | |
| 275 | ... "user_id".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `"user_id".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:279:29 | |
| | | |
| 279 | ... "updated_parameters".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"updated_parameters".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:423:28 | |
| | | |
| 423 | map.insert("vo2_max".to_string(), serde_json::Value::Number(vo2_number)); | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `"vo2_max".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:431:17 | |
| | | |
| 431 | "zone_count".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"zone_count".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:435:17 | |
| | | |
| 435 | "ftp_used".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `"ftp_used".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:439:17 | |
| | | |
| 439 | "ftp_source".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"ftp_source".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:441:21 | |
| | | |
| 441 | "provided".to_string() | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `"provided".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:443:21 | |
| | | |
| 443 | "default_estimate".to_string() | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"default_estimate".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:466:54 | |
| | | |
| 466 | .ok_or_else(|| ProtocolError::InvalidRequest("vo2_max parameter required".to_string()))?; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"vo2_max parameter required".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:767:54 | |
| | | |
| 767 | .ok_or_else(|| ProtocolError::InvalidRequest("parameters field required".to_string()))?; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"parameters field required".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:835:25 | |
| | | |
| 835 | error: Some("Validation failed: Parameters must be a JSON object".to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"Validation failed: Parameters must be a JSON object".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/configuration.rs:839:21 | |
| | | |
| 839 | "error_count".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"error_count".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/connections.rs:63:51 | |
| | | |
| 63 | serde_json::Value::String(specific_provider.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `specific_provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/connections.rs:95:21 | |
| | | |
| 95 | provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/connections.rs:167:51 | |
| | | |
| 167 | serde_json::Value::String(provider.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/connections.rs:190:51 | |
| | | |
| 190 | serde_json::Value::String(provider.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/connections.rs:248:43 | |
| | | |
| 248 | serde_json::Value::String(provider.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/connections.rs:272:43 | |
| | | |
| 272 | serde_json::Value::String(provider.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/goals.rs:46:21 | |
| | | |
| 46 | let goal_type = request | |
| | _____________________^ | |
| 47 | | .parameters | |
| 48 | | .get("goal_type") | |
| 49 | | .and_then(|v| v.as_str()) | |
| 50 | | .ok_or_else(|| ProtocolError::InvalidParameters("goal_type is required".into()))? | |
| 51 | | .to_string(); | |
| | |____________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 46 ~ let goal_type = request | |
| 47 + .parameters | |
| 48 + .get("goal_type") | |
| 49 + .and_then(|v| v.as_str()) | |
| 50 ~ .ok_or_else(|| ProtocolError::InvalidParameters("goal_type is required".into()))?.to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/goals.rs:751:21 | |
| | | |
| 751 | let goal_type = goal | |
| | _____________________^ | |
| 752 | | .get("goal_type") | |
| 753 | | .and_then(|v| v.as_str()) | |
| 754 | | .unwrap_or("distance") | |
| 755 | | .to_string(); | |
| | |____________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 751 ~ let goal_type = goal | |
| 752 + .get("goal_type") | |
| 753 + .and_then(|v| v.as_str()) | |
| 754 ~ .unwrap_or("distance").to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/goals.rs:761:21 | |
| | | |
| 761 | let timeframe = goal | |
| | _____________________^ | |
| 762 | | .get("timeframe") | |
| 763 | | .and_then(|v| v.as_str()) | |
| 764 | | .unwrap_or("month") | |
| 765 | | .to_string(); | |
| | |____________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 761 ~ let timeframe = goal | |
| 762 + .get("timeframe") | |
| 763 + .and_then(|v| v.as_str()) | |
| 764 ~ .unwrap_or("month").to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/goals.rs:991:23 | |
| | | |
| 991 | let goal_id = request | |
| | _______________________^ | |
| 992 | | .parameters | |
| 993 | | .get("goal_id") | |
| 994 | | .and_then(|v| v.as_str()) | |
| 995 | | .ok_or_else(|| ProtocolError::InvalidParameters("goal_id is required".into()))? | |
| 996 | | .to_string(); | |
| | |________________________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| help: try | |
| | | |
| 991 ~ let goal_id = request | |
| 992 + .parameters | |
| 993 + .get("goal_id") | |
| 994 + .and_then(|v| v.as_str()) | |
| 995 ~ .ok_or_else(|| ProtocolError::InvalidParameters("goal_id is required".into()))?.to_owned(); | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/intelligence.rs:231:35 | |
| | | |
| 231 | serde_json::Value::String(activity_id.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `activity_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/intelligence.rs:2048:13 | |
| | | |
| 2048 | / "Volume spike detected - reduce next week's volume by 10-15% to prevent injury" | |
| 2049 | | .to_string(), | |
| | |____________________________^ help: try: `"Volume spike detected - reduce next week's volume by 10-15% to prevent injury".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/intelligence.rs:2292:13 | |
| | | |
| 2292 | / "Unable to detect clear intensity pattern - ensure heart rate data is available" | |
| 2293 | | .to_string(), | |
| | |____________________________^ help: try: `"Unable to detect clear intensity pattern - ensure heart rate data is available".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/intelligence.rs:2308:13 | |
| | | |
| 2308 | / "Too much high-intensity training - add more easy/recovery runs (aim for 80% easy)" | |
| 2309 | | .to_string(), | |
| | |____________________________^ help: try: `"Too much high-intensity training - add more easy/recovery runs (aim for 80% easy)".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/intelligence.rs:2315:13 | |
| | | |
| 2315 | / "Mostly easy training - include 1-2 quality sessions per week for fitness gains" | |
| 2316 | | .to_string(), | |
| | |____________________________^ help: try: `"Mostly easy training - include 1-2 quality sessions per week for fitness gains".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/nutrition.rs:361:25 | |
| | | |
| 361 | / "Invalid workout_intensity. Must be one of: low, moderate, high" | |
| 362 | | .to_string(), | |
| | |________________________________________^ help: try: `"Invalid workout_intensity. Must be one of: low, moderate, high".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/nutrition.rs:477:21 | |
| | | |
| 477 | / "USDA API key not configured. Set USDA_API_KEY environment variable." | |
| 478 | | .to_string(), | |
| | |____________________________________^ help: try: `"USDA API key not configured. Set USDA_API_KEY environment variable.".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/nutrition.rs:557:21 | |
| | | |
| 557 | / "USDA API key not configured. Set USDA_API_KEY environment variable." | |
| 558 | | .to_string(), | |
| | |____________________________________^ help: try: `"USDA API key not configured. Set USDA_API_KEY environment variable.".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:76:25 | |
| | | |
| 76 | ...me("No valid Strava token found. Please connect your Strava account using the connect_provider tool with provider='strava'.".to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"No valid Strava token found. Please connect your Strava account using the connect_provider tool with provider='strava'.".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:102:43 | |
| | | |
| 102 | ProtocolError::InvalidRequest("sleep_data parameter is required".to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"sleep_data parameter is required".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:247:43 | |
| | | |
| 247 | ProtocolError::InvalidRequest("sleep_data parameter is required".to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"sleep_data parameter is required".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:413:43 | |
| | | |
| 413 | ProtocolError::InvalidRequest("sleep_data parameter is required".to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"sleep_data parameter is required".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:557:43 | |
| | | |
| 557 | ProtocolError::InvalidRequest("sleep_history parameter is required".to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"sleep_history parameter is required".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:567:17 | |
| | | |
| 567 | "At least 7 days of sleep data required for trend analysis".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"At least 7 days of sleep data required for trend analysis".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:794:17 | |
| | | |
| 794 | "Extra sleep needed due to accumulated training fatigue (negative TSB)".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"Extra sleep needed due to accumulated training fatigue (negative TSB)".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:800:17 | |
| | | |
| 800 | "High-intensity workout planned - prioritize sleep quality tonight".to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `"High-intensity workout planned - prioritize sleep quality tonight".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/sleep_recovery.rs:883:16 | |
| | | |
| 883 | return "22:00".to_string(); // Default fallback | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `"22:00".to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/strava_api.rs:101:35 | |
| | | |
| 101 | serde_json::Value::String(activity_id.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `activity_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/strava_api.rs:415:13 | |
| | | |
| 415 | oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/strava_api.rs:520:13 | |
| | | |
| 520 | oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/strava_api.rs:680:33 | |
| | | |
| 680 | ... oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/strava_api.rs:762:13 | |
| | | |
| 762 | oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/protocols/universal/handlers/strava_api.rs:773:17 | |
| | | |
| 773 | oauth_providers::STRAVA.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `oauth_providers::STRAVA.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `String` | |
| --> src/protocols/universal/handlers/strava_api.rs:889:71 | |
| | | |
| 889 | ... serde_json::Value::String(activity_id.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: consider using `.clone()` | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/errors.rs:243:18 | |
| | | |
| 243 | _ => self.code.description().to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.code.description().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tools/engine.rs:68:24 | |
| | | |
| 68 | tool_name: tool_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tools/engine.rs:230:35 | |
| | | |
| 230 | let description = Self::get_tool_description(tool_name)?.to_string(); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Self::get_tool_description(tool_name)?.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tools/engine.rs:236:27 | |
| | | |
| 236 | name: tool_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tools/providers.rs:167:42 | |
| | | |
| 167 | ... .map(|s| s.trim().to_string()) | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `s.trim().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tools/responses.rs:116:22 | |
| | | |
| 116 | version: env!("CARGO_PKG_VERSION").to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `env!("CARGO_PKG_VERSION").to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/plugins/executor.rs:122:24 | |
| | | |
| 122 | tools.push(tool_name.to_string()); | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/plugins/executor.rs:172:23 | |
| | | |
| 172 | name: tool_name.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `tool_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/plugins/executor.rs:173:30 | |
| | | |
| 173 | description: description.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `description.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/plugins/registry.rs:77:29 | |
| | | |
| 77 | self.plugins.insert(info.name.to_string(), plugin_arc); | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `info.name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/plugins/registry.rs:78:33 | |
| | | |
| 78 | self.plugin_info.insert(info.name.to_string(), info); | |
| | ^^^^^^^^^^^^^^^^^^^^^ help: try: `info.name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/plugins/registry.rs:92:58 | |
| | | |
| 92 | .ok_or_else(|| ProtocolError::PluginNotFound(plugin_name.to_string()))?; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `plugin_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/plugins/registry.rs:141:58 | |
| | | |
| 141 | .ok_or_else(|| ProtocolError::PluginNotFound(plugin_name.to_string()))?; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `plugin_name.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:84:33 | |
| | | |
| 84 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Initializing; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:98:33 | |
| | | |
| 98 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Ready; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:107:33 | |
| | | |
| 107 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:138:33 | |
| | | |
| 138 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::ShuttingDown; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:146:33 | |
| | | |
| 146 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Shutdown; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:154:33 | |
| | | |
| 154 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:221:33 | |
| | | |
| 221 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Initializing; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:227:33 | |
| | | |
| 227 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Ready; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:236:33 | |
| | | |
| 236 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:257:33 | |
| | | |
| 257 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::ShuttingDown; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:264:33 | |
| | | |
| 264 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Shutdown; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:272:33 | |
| | | |
| 272 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:335:33 | |
| | | |
| 335 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Initializing; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:341:33 | |
| | | |
| 341 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Ready; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:350:33 | |
| | | |
| 350 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:371:33 | |
| | | |
| 371 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::ShuttingDown; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:378:33 | |
| | | |
| 378 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) = PluginState::Shutdown; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `panic` should not be present in production code | |
| --> src/lifecycle/plugins.rs:386:33 | |
| | | |
| 386 | .unwrap_or_else(|e| panic!("Lock poisoned: {e}")) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `to_string()` called on a `&str` | |
| --> src/lifecycle.rs:128:31 | |
| | | |
| 128 | let plugin_name = plugin.name().to_string(); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `plugin.name().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/lifecycle.rs:185:31 | |
| | | |
| 185 | name: plugin.name().to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `plugin.name().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/lifecycle.rs:209:31 | |
| | | |
| 209 | let plugin_name = plugin.name().to_string(); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `plugin.name().to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/sse/protocol.rs:104:59 | |
| | | |
| 104 | McpResponse::error(Some(Value::Null), -32603, error_message.to_string()); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `error_message.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:380:24 | |
| | | |
| 380 | client_id: params.client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `params.client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:382:24 | |
| | | |
| 382 | tenant_id: params.tenant_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `params.tenant_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:383:27 | |
| | | |
| 383 | redirect_uri: params.redirect_uri.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `params.redirect_uri.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:418:24 | |
| | | |
| 418 | state: state_value.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `state_value.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:419:28 | |
| | | |
| 419 | client_id: params.client_id.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `params.client_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:421:33 | |
| | | |
| 421 | tenant_id: Some(params.tenant_id.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `params.tenant_id.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:422:31 | |
| | | |
| 422 | redirect_uri: params.redirect_uri.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `params.redirect_uri.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/endpoints.rs:870:26 | |
| | | |
| 870 | reason: Some(reason.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^ help: try: `reason.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: item in documentation is missing backticks | |
| --> src/oauth2_server/models.rs:129:19 | |
| | | |
| 129 | /// Create an invalid_request error | |
| | ^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 129 - /// Create an invalid_request error | |
| 129 + /// Create an `invalid_request` error | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/models.rs:134:37 | |
| | | |
| 134 | error_description: Some(description.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `description.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: item in documentation is missing backticks | |
| --> src/oauth2_server/models.rs:141:19 | |
| | | |
| 141 | /// Create an invalid_client error | |
| | ^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 141 - /// Create an invalid_client error | |
| 141 + /// Create an `invalid_client` error | |
| | | |
| error: item in documentation is missing backticks | |
| --> src/oauth2_server/models.rs:151:19 | |
| | | |
| 151 | /// Create an invalid_grant error | |
| | ^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 151 - /// Create an invalid_grant error | |
| 151 + /// Create an `invalid_grant` error | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/models.rs:156:37 | |
| | | |
| 156 | error_description: Some(description.to_string()), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `description.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: item in documentation is missing backticks | |
| --> src/oauth2_server/models.rs:161:19 | |
| | | |
| 161 | /// Create an unsupported_grant_type error | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 161 - /// Create an unsupported_grant_type error | |
| 161 + /// Create an `unsupported_grant_type` error | |
| | | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/routes.rs:79:22 | |
| | | |
| 79 | let issuer_url = issuer_url.to_string(); // Safe: captured for warp filter closure lifetime | |
| | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `issuer_url.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/routes.rs:535:13 | |
| | | |
| 535 | token.to_string() | |
| | ^^^^^^^^^^^^^^^^^ help: try: `token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/routes.rs:840:20 | |
| | | |
| 840 | let password = password.to_string(); | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `password.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/routes.rs:841:16 | |
| | | |
| 841 | let hash = hash.to_string(); | |
| | ^^^^^^^^^^^^^^^^ help: try: `hash.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/oauth2_server/routes.rs:1068:25 | |
| | | |
| 1068 | return Some(session_token.to_string()); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `session_token.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tenant/oauth_manager.rs:115:23 | |
| | | |
| 115 | provider: provider.to_string(), | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tenant/oauth_manager.rs:124:33 | |
| | | |
| 124 | .insert((tenant_id, provider.to_string()), credentials); | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tenant/oauth_manager.rs:137:31 | |
| | | |
| 137 | .get(&(tenant_id, provider.to_string(), today)) | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tenant/oauth_manager.rs:144:31 | |
| | | |
| 144 | .get(&(tenant_id, provider.to_string())) | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tenant/oauth_manager.rs:166:31 | |
| | | |
| 166 | let key = (tenant_id, provider.to_string(), today); | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/tenant/oauth_manager.rs:284:31 | |
| | | |
| 284 | .get(&(tenant_id, provider.to_string())) | |
| | ^^^^^^^^^^^^^^^^^^^^ help: try: `provider.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: item in documentation is missing backticks | |
| --> src/utils/auth.rs:88:45 | |
| | | |
| 88 | /// *** authentication (JWT or OAuth2) | |
| | ^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown | |
| help: try | |
| | | |
| 88 - /// *** authentication (JWT or OAuth2) | |
| 88 + /// *** authentication (JWT or `OAuth2`) | |
| | | |
| error: use Option::map_or_else instead of an if let/else | |
| --> src/utils/http_client.rs:28:5 | |
| | | |
| 28 | / match CLIENT_CONFIG.get() { | |
| 29 | | Some(config) => config, | |
| 30 | | None => panic!( | |
| 31 | | "HTTP client configuration not initialized - call initialize_http_clients() at startup" | |
| 32 | | ), | |
| 33 | | } | |
| | |_____^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_if_let_else | |
| help: try | |
| | | |
| 28 ~ CLIENT_CONFIG.get().map_or_else(|| panic!( | |
| 29 + "HTTP client configuration not initialized - call initialize_http_clients() at startup" | |
| 30 + ), |config| config) | |
| | | |
| error: `panic` should not be present in production code | |
| --> src/utils/http_client.rs:30:17 | |
| | | |
| 30 | None => panic!( | |
| | _________________^ | |
| 31 | | "HTTP client configuration not initialized - call initialize_http_clients() at startup" | |
| 32 | | ), | |
| | |_________^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: only a `panic!` in `if`-then statement | |
| --> src/utils/http_client.rs:44:5 | |
| | | |
| 44 | / if CLIENT_CONFIG.set(config).is_err() { | |
| 45 | | panic!("HTTP client configuration already initialized"); | |
| 46 | | } | |
| | |_____^ help: try instead: `assert!(!CLIENT_CONFIG.set(config).is_err(), "HTTP client configuration already initialized");` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_assert | |
| error: `panic` should not be present in production code | |
| --> src/utils/http_client.rs:45:9 | |
| | | |
| 45 | panic!("HTTP client configuration already initialized"); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `to_string()` called on a `&str` | |
| --> src/utils/json_responses.rs:152:22 | |
| | | |
| 152 | json!({ "error": message.to_string() }) | |
| | ^^^^^^^^^^^^^^^^^^^ help: try: `message.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: only a `panic!` in `if`-then statement | |
| --> src/utils/route_timeout.rs:24:5 | |
| | | |
| 24 | / if ROUTE_TIMEOUT_CONFIG.set(config).is_err() { | |
| 25 | | panic!("Route timeout configuration already initialized"); | |
| 26 | | } | |
| | |_____^ help: try instead: `assert!(!ROUTE_TIMEOUT_CONFIG.set(config).is_err(), "Route timeout configuration already initialized");` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_assert | |
| error: `panic` should not be present in production code | |
| --> src/utils/route_timeout.rs:25:9 | |
| | | |
| 25 | panic!("Route timeout configuration already initialized"); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: use Option::map_or_else instead of an if let/else | |
| --> src/utils/route_timeout.rs:34:5 | |
| | | |
| 34 | / match ROUTE_TIMEOUT_CONFIG.get() { | |
| 35 | | Some(config) => config, | |
| 36 | | None => panic!("Route timeout configuration not initialized - call initialize_route_timeouts() at startup"), | |
| 37 | | } | |
| | |_____^ help: try: `ROUTE_TIMEOUT_CONFIG.get().map_or_else(|| panic!("Route timeout configuration not initialized - call initialize_route_timeouts() at startup"), |config| config)` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_if_let_else | |
| error: `panic` should not be present in production code | |
| --> src/utils/route_timeout.rs:36:17 | |
| | | |
| 36 | None => panic!("Route timeout configuration not initialized - call initialize_route_timeouts() at startup"), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#panic | |
| error: `to_string()` called on a `&str` | |
| --> src/test_utils.rs:16:16 | |
| | | |
| 16 | email: email.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `email.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/test_utils.rs:38:16 | |
| | | |
| 38 | email: email.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `email.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/test_utils.rs:60:16 | |
| | | |
| 60 | email: email.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `email.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: `to_string()` called on a `&str` | |
| --> src/test_utils.rs:88:16 | |
| | | |
| 88 | email: email.to_string(), | |
| | ^^^^^^^^^^^^^^^^^ help: try: `email.to_owned()` | |
| | | |
| = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string | |
| error: missing documentation for a module | |
| --> src/lib.rs:188:1 | |
| | | |
| 188 | pub mod types; | |
| | ^^^^^^^^^^^^^ | |
| | | |
| = note: `-D missing-docs` implied by `-D warnings` | |
| = help: to override `-D warnings` add `#[allow(missing_docs)]` | |
| error: missing documentation for a module | |
| --> src/lib.rs:189:1 | |
| | | |
| 189 | pub mod utils; | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:15:9 | |
| | | |
| 15 | provider: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:16:9 | |
| | | |
| 16 | status_code: u16, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:17:9 | |
| | | |
| 17 | message: String, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:18:9 | |
| | | |
| 18 | retryable: bool, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:24:9 | |
| | | |
| 24 | provider: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:25:9 | |
| | | |
| 25 | retry_after_secs: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:26:9 | |
| | | |
| 26 | limit_type: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:31:28 | |
| | | |
| 31 | AuthenticationFailed { provider: String, reason: String }, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:31:46 | |
| | | |
| 31 | AuthenticationFailed { provider: String, reason: String }, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:35:26 | |
| | | |
| 35 | TokenRefreshFailed { provider: String, details: String }, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:35:44 | |
| | | |
| 35 | TokenRefreshFailed { provider: String, details: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:40:9 | |
| | | |
| 40 | provider: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:41:9 | |
| | | |
| 41 | resource_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:42:9 | |
| | | |
| 42 | resource_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:48:9 | |
| | | |
| 48 | provider: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:49:9 | |
| | | |
| 49 | field: String, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:50:9 | |
| | | |
| 50 | reason: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:59:26 | |
| | | |
| 59 | ConfigurationError { provider: String, details: String }, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:59:44 | |
| | | |
| 59 | ConfigurationError { provider: String, details: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:63:26 | |
| | | |
| 63 | UnsupportedFeature { provider: String, feature: String }, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/errors.rs:63:44 | |
| | | |
| 63 | UnsupportedFeature { provider: String, feature: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/utils.rs:180:5 | |
| | | |
| 180 | pub access_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/utils.rs:181:5 | |
| | | |
| 181 | pub refresh_token: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/utils.rs:183:5 | |
| | | |
| 183 | pub expires_in: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/utils.rs:185:5 | |
| | | |
| 185 | pub expires_at: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:36:5 | |
| | | |
| 36 | pub summary_polyline: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:72:5 | |
| | | |
| 72 | pub distance: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:73:5 | |
| | | |
| 73 | pub elapsed_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:74:5 | |
| | | |
| 74 | pub elevation_difference: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:75:5 | |
| | | |
| 75 | pub moving_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:76:5 | |
| | | |
| 76 | pub split: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:77:5 | |
| | | |
| 77 | pub average_speed: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:78:5 | |
| | | |
| 78 | pub pace_zone: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:84:5 | |
| | | |
| 84 | pub id: Option<u64>, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:85:5 | |
| | | |
| 85 | pub elapsed_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:86:5 | |
| | | |
| 86 | pub moving_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:87:5 | |
| | | |
| 87 | pub distance: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:88:5 | |
| | | |
| 88 | pub total_elevation_gain: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:89:5 | |
| | | |
| 89 | pub average_speed: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:90:5 | |
| | | |
| 90 | pub max_speed: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:91:5 | |
| | | |
| 91 | pub average_heartrate: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:92:5 | |
| | | |
| 92 | pub max_heartrate: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:93:5 | |
| | | |
| 93 | pub average_cadence: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:94:5 | |
| | | |
| 94 | pub average_watts: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:100:5 | |
| | | |
| 100 | pub id: Option<u64>, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:101:5 | |
| | | |
| 101 | pub name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:102:5 | |
| | | |
| 102 | pub elapsed_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:103:5 | |
| | | |
| 103 | pub moving_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:104:5 | |
| | | |
| 104 | pub distance: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:105:5 | |
| | | |
| 105 | pub average_heartrate: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:106:5 | |
| | | |
| 106 | pub max_heartrate: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:107:5 | |
| | | |
| 107 | pub average_cadence: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:108:5 | |
| | | |
| 108 | pub average_watts: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:117:5 | |
| | | |
| 117 | pub summary: StravaActivityResponse, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:120:5 | |
| | | |
| 120 | pub kudos_count: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:121:5 | |
| | | |
| 121 | pub comment_count: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:122:5 | |
| | | |
| 122 | pub athlete_count: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:123:5 | |
| | | |
| 123 | pub photo_count: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:124:5 | |
| | | |
| 124 | pub achievement_count: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:127:5 | |
| | | |
| 127 | pub elev_high: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:128:5 | |
| | | |
| 128 | pub elev_low: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:131:5 | |
| | | |
| 131 | pub pr_count: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:132:5 | |
| | | |
| 132 | pub device_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:135:5 | |
| | | |
| 135 | pub splits_metric: Option<Vec<StravaSplit>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:136:5 | |
| | | |
| 136 | pub laps: Option<Vec<StravaLap>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/providers/strava_provider.rs:137:5 | |
| | | |
| 137 | pub segment_efforts: Option<Vec<StravaSegmentEffort>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/models.rs:80:5 | |
| | | |
| 80 | Awake, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/models.rs:81:5 | |
| | | |
| 81 | Light, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/models.rs:82:5 | |
| | | |
| 82 | Deep, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/models.rs:83:5 | |
| | | |
| 83 | Rem, | |
| | ^^^ | |
| error: missing documentation for an associated function | |
| --> src/models.rs:1479:5 | |
| | | |
| 1479 | / pub fn new( | |
| 1480 | | name: String, | |
| 1481 | | slug: String, | |
| 1482 | | domain: Option<String>, | |
| 1483 | | plan: String, | |
| 1484 | | owner_user_id: Uuid, | |
| 1485 | | ) -> Self { | |
| | |_____________^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1529:5 | |
| | | |
| 1529 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1530:5 | |
| | | |
| 1530 | pub client_secret: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1531:5 | |
| | | |
| 1531 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1532:5 | |
| | | |
| 1532 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1533:5 | |
| | | |
| 1533 | pub redirect_uris: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1534:5 | |
| | | |
| 1534 | pub scopes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1535:5 | |
| | | |
| 1535 | pub app_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/models.rs:1536:5 | |
| | | |
| 1536 | pub owner_user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/models.rs:1583:5 | |
| | | |
| 1583 | / pub fn new( | |
| 1584 | | code: String, | |
| 1585 | | client_id: String, | |
| 1586 | | redirect_uri: String, | |
| 1587 | | scope: String, | |
| 1588 | | user_id: Option<Uuid>, | |
| 1589 | | ) -> Self { | |
| | |_____________^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:22:5 | |
| | | |
| 22 | Error, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:23:5 | |
| | | |
| 23 | Warn, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:25:5 | |
| | | |
| 25 | Info, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:26:5 | |
| | | |
| 26 | Debug, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:27:5 | |
| | | |
| 27 | Trace, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:73:5 | |
| | | |
| 73 | Development, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:74:5 | |
| | | |
| 74 | Production, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/environment.rs:75:5 | |
| | | |
| 75 | Testing, | |
| | ^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/environment.rs:122:14 | |
| | | |
| 122 | SQLite { path: PathBuf }, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/environment.rs:124:18 | |
| | | |
| 124 | PostgreSQL { connection_string: String }, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:245:1 | |
| | | |
| 245 | pub struct ServerConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:289:1 | |
| | | |
| 289 | pub struct DatabaseConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:337:1 | |
| | | |
| 337 | pub struct AuthConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:345:1 | |
| | | |
| 345 | pub struct OAuthConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:355:1 | |
| | | |
| 355 | pub struct OAuthProviderConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:587:1 | |
| | | |
| 587 | pub struct SecurityHeadersConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:593:1 | |
| | | |
| 593 | pub struct RateLimitConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:603:1 | |
| | | |
| 603 | pub struct TlsConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:613:1 | |
| | | |
| 613 | pub struct ExternalServicesConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:627:1 | |
| | | |
| 627 | pub struct WeatherServiceConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:637:1 | |
| | | |
| 637 | pub struct GeocodingServiceConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:645:1 | |
| | | |
| 645 | pub struct StravaApiConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:657:1 | |
| | | |
| 657 | pub struct FitbitApiConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:669:1 | |
| | | |
| 669 | pub struct AppBehaviorConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:681:1 | |
| | | |
| 681 | pub struct ProtocolConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/environment.rs:691:1 | |
| | | |
| 691 | pub struct HttpClientConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:16:5 | |
| | | |
| 16 | pub sport_types: HashMap<String, String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:17:5 | |
| | | |
| 17 | pub intelligence: IntelligenceConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:18:5 | |
| | | |
| 18 | pub weather_api: Option<WeatherApiConfig>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:24:5 | |
| | | |
| 24 | pub effort_thresholds: EffortThresholds, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:25:5 | |
| | | |
| 25 | pub zone_thresholds: ZoneThresholds, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:26:5 | |
| | | |
| 26 | pub weather_mapping: WeatherMapping, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:27:5 | |
| | | |
| 27 | pub personal_records: PersonalRecordConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:33:5 | |
| | | |
| 33 | pub light_max: f32, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:34:5 | |
| | | |
| 34 | pub moderate_max: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:35:5 | |
| | | |
| 35 | pub hard_max: f32, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:42:5 | |
| | | |
| 42 | pub recovery_max: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:43:5 | |
| | | |
| 43 | pub endurance_max: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:44:5 | |
| | | |
| 44 | pub tempo_max: f32, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:45:5 | |
| | | |
| 45 | pub threshold_max: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:52:5 | |
| | | |
| 52 | pub rain_keywords: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:53:5 | |
| | | |
| 53 | pub snow_keywords: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:54:5 | |
| | | |
| 54 | pub wind_threshold: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:60:5 | |
| | | |
| 60 | pub pace_improvement_threshold: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:61:5 | |
| | | |
| 61 | pub distance_pr_types: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:62:5 | |
| | | |
| 62 | pub time_pr_types: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:68:5 | |
| | | |
| 68 | pub provider: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:69:5 | |
| | | |
| 69 | pub base_url: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:70:5 | |
| | | |
| 70 | pub enabled: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:71:5 | |
| | | |
| 71 | pub cache_duration_hours: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:72:5 | |
| | | |
| 72 | pub request_timeout_seconds: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/fitness_config.rs:73:5 | |
| | | |
| 73 | pub rate_limit_requests_per_minute: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/intelligence_config.rs:21:5 | |
| | | |
| 21 | InvalidRange(&'static str), | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/intelligence_config.rs:24:5 | |
| | | |
| 24 | MissingField(&'static str), | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/intelligence_config.rs:27:5 | |
| | | |
| 27 | EnvVar(#[from] std::env::VarError), | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/intelligence_config.rs:30:5 | |
| | | |
| 30 | Parse(String), | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/intelligence_config.rs:33:5 | |
| | | |
| 33 | InvalidWeights(&'static str), | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/config/intelligence_config.rs:36:5 | |
| | | |
| 36 | ValueOutOfRange(&'static str), | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:131:5 | |
| | | |
| 131 | pub recommendation_engine: RecommendationEngineConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:132:5 | |
| | | |
| 132 | pub performance_analyzer: PerformanceAnalyzerConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:133:5 | |
| | | |
| 133 | pub goal_engine: GoalEngineConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:134:5 | |
| | | |
| 134 | pub weather_analysis: WeatherAnalysisConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:135:5 | |
| | | |
| 135 | pub activity_analyzer: ActivityAnalyzerConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:136:5 | |
| | | |
| 136 | pub metrics: MetricsConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:137:5 | |
| | | |
| 137 | pub sleep_recovery: SleepRecoveryConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:138:5 | |
| | | |
| 138 | pub nutrition: NutritionConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:139:5 | |
| | | |
| 139 | pub algorithms: AlgorithmConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:146:5 | |
| | | |
| 146 | pub thresholds: RecommendationThresholds, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:147:5 | |
| | | |
| 147 | pub weights: RecommendationWeights, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:148:5 | |
| | | |
| 148 | pub limits: RecommendationLimits, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:149:5 | |
| | | |
| 149 | pub messages: RecommendationMessages, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/intelligence_config.rs:202:1 | |
| | | |
| 202 | pub struct RecommendationMessages { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:203:5 | |
| | | |
| 203 | pub low_distance: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:204:5 | |
| | | |
| 204 | pub high_distance: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:205:5 | |
| | | |
| 205 | pub low_frequency: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:206:5 | |
| | | |
| 206 | pub high_frequency: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:207:5 | |
| | | |
| 207 | pub pace_improvement: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:208:5 | |
| | | |
| 208 | pub consistency_improvement: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:209:5 | |
| | | |
| 209 | pub recovery_needed: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:215:5 | |
| | | |
| 215 | pub trend_analysis: TrendAnalysisConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:216:5 | |
| | | |
| 216 | pub statistical: StatisticalConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:217:5 | |
| | | |
| 217 | pub thresholds: PerformanceThresholds, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:262:5 | |
| | | |
| 262 | pub feasibility: FeasibilityConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:263:5 | |
| | | |
| 263 | pub suggestion: SuggestionConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:264:5 | |
| | | |
| 264 | pub progression: ProgressionConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:327:5 | |
| | | |
| 327 | pub temperature: TemperatureConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:328:5 | |
| | | |
| 328 | pub conditions: WeatherConditionsConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:329:5 | |
| | | |
| 329 | pub impact: WeatherImpactConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:511:5 | |
| | | |
| 511 | pub sleep_duration: SleepDurationConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:512:5 | |
| | | |
| 512 | pub sleep_stages: SleepStagesConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:513:5 | |
| | | |
| 513 | pub sleep_efficiency: SleepEfficiencyConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:514:5 | |
| | | |
| 514 | pub hrv: HrvConfig, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:515:5 | |
| | | |
| 515 | pub training_stress_balance: TsbConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:516:5 | |
| | | |
| 516 | pub recovery_scoring: RecoveryScoringConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/intelligence_config.rs:537:1 | |
| | | |
| 537 | pub struct SleepStagesConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/intelligence_config.rs:561:1 | |
| | | |
| 561 | pub struct SleepEfficiencyConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/intelligence_config.rs:571:1 | |
| | | |
| 571 | pub struct HrvConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/intelligence_config.rs:581:1 | |
| | | |
| 581 | pub struct TsbConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/config/intelligence_config.rs:595:1 | |
| | | |
| 595 | pub struct RecoveryScoringConfig { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:623:5 | |
| | | |
| 623 | pub bmr: BmrConfig, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:624:5 | |
| | | |
| 624 | pub activity_factors: ActivityFactorsConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:625:5 | |
| | | |
| 625 | pub macronutrients: MacronutrientConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:626:5 | |
| | | |
| 626 | pub nutrient_timing: NutrientTimingConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/config/intelligence_config.rs:627:5 | |
| | | |
| 627 | pub usda_api: UsdaApiConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a method | |
| --> src/config/intelligence_config.rs:1737:5 | |
| | | |
| 1737 | fn recommendation_thresholds(&self) -> &RecommendationThresholds; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a method | |
| --> src/config/intelligence_config.rs:1738:5 | |
| | | |
| 1738 | fn performance_thresholds(&self) -> &PerformanceThresholds; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a method | |
| --> src/config/intelligence_config.rs:1739:5 | |
| | | |
| 1739 | fn weather_config(&self) -> &WeatherAnalysisConfig; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a method | |
| --> src/config/intelligence_config.rs:1741:5 | |
| | | |
| 1741 | fn should_recommend_volume_increase(&self, current_km: f64) -> bool { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a method | |
| --> src/config/intelligence_config.rs:1745:5 | |
| | | |
| 1745 | fn should_recommend_recovery(&self, frequency: i32) -> bool { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:23:1 | |
| | | |
| 23 | pub const ERROR_TOKEN_INVALID: i32 = -32603; // Internal error - token invalid | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:24:1 | |
| | | |
| 24 | pub const ERROR_TOKEN_MALFORMED: i32 = -32602; // Invalid params - malformed token | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:31:1 | |
| | | |
| 31 | pub const ERROR_RESOURCE_ACCESS: i32 = -32001; // Server error - resource access failed | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:32:1 | |
| | | |
| 32 | pub const ERROR_AUTHENTICATION: i32 = -32002; // Server error - authentication failed | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:33:1 | |
| | | |
| 33 | pub const ERROR_AUTHORIZATION: i32 = -32003; // Server error - authorization failed | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:34:1 | |
| | | |
| 34 | pub const ERROR_SERIALIZATION: i32 = -32004; // Server error - data serialization failed | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:42:1 | |
| | | |
| 42 | pub const MSG_INVALID_PARAMS: &str = "Invalid parameters"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:43:1 | |
| | | |
| 43 | pub const MSG_INTERNAL_ERROR: &str = "Internal error"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:44:1 | |
| | | |
| 44 | pub const MSG_AUTH_REQUIRED: &str = "Authentication required"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:45:1 | |
| | | |
| 45 | pub const MSG_AUTH_FAILED: &str = "Authentication failed"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:51:1 | |
| | | |
| 51 | pub const MSG_TOKEN_INVALID: &str = "JWT token signature is invalid"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:52:1 | |
| | | |
| 52 | pub const MSG_TOKEN_MALFORMED: &str = "JWT token is malformed"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:59:1 | |
| | | |
| 59 | pub const MSG_RESOURCE_ACCESS: &str = "Resource access failed"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:60:1 | |
| | | |
| 60 | pub const MSG_AUTHENTICATION: &str = "Authentication failed"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:61:1 | |
| | | |
| 61 | pub const MSG_AUTHORIZATION: &str = "Authorization failed"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/errors/codes.rs:62:1 | |
| | | |
| 62 | pub const MSG_SERIALIZATION: &str = "Data serialization failed"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:11:1 | |
| | | |
| 11 | pub const GET_ATHLETE: &str = "get_athlete"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:12:1 | |
| | | |
| 12 | pub const GET_STATS: &str = "get_stats"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:13:1 | |
| | | |
| 13 | pub const GET_ACTIVITY_INTELLIGENCE: &str = "get_activity_intelligence"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:17:1 | |
| | | |
| 17 | pub const CONNECT_PROVIDER: &str = "connect_provider"; // Unified Pierre + Provider OAuth flow | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:18:1 | |
| | | |
| 18 | pub const GET_CONNECTION_STATUS: &str = "get_connection_status"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:19:1 | |
| | | |
| 19 | pub const DISCONNECT_PROVIDER: &str = "disconnect_provider"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:23:1 | |
| | | |
| 23 | pub const GET_NOTIFICATIONS: &str = "get_notifications"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:24:1 | |
| | | |
| 24 | pub const ANNOUNCE_OAUTH_SUCCESS: &str = "announce_oauth_success"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:25:1 | |
| | | |
| 25 | pub const CHECK_OAUTH_NOTIFICATIONS: &str = "check_oauth_notifications"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:29:1 | |
| | | |
| 29 | pub const CALCULATE_METRICS: &str = "calculate_metrics"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:30:1 | |
| | | |
| 30 | pub const ANALYZE_PERFORMANCE_TRENDS: &str = "analyze_performance_trends"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:31:1 | |
| | | |
| 31 | pub const COMPARE_ACTIVITIES: &str = "compare_activities"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:32:1 | |
| | | |
| 32 | pub const DETECT_PATTERNS: &str = "detect_patterns"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:36:1 | |
| | | |
| 36 | pub const TRACK_PROGRESS: &str = "track_progress"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:43:1 | |
| | | |
| 43 | pub const SET_FITNESS_CONFIG: &str = "set_fitness_config"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:44:1 | |
| | | |
| 44 | pub const LIST_FITNESS_CONFIGS: &str = "list_fitness_configs"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:45:1 | |
| | | |
| 45 | pub const DELETE_FITNESS_CONFIG: &str = "delete_fitness_config"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:49:1 | |
| | | |
| 49 | pub const ANALYZE_GOAL_FEASIBILITY: &str = "analyze_goal_feasibility"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:50:1 | |
| | | |
| 50 | pub const ANALYZE_TRAINING_LOAD: &str = "analyze_training_load"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:51:1 | |
| | | |
| 51 | pub const CALCULATE_FITNESS_SCORE: &str = "calculate_fitness_score"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:52:1 | |
| | | |
| 52 | pub const GENERATE_RECOMMENDATIONS: &str = "generate_recommendations"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/constants/tools/identifiers.rs:53:1 | |
| | | |
| 53 | pub const SUGGEST_GOALS: &str = "suggest_goals"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a module | |
| --> src/oauth2_client/client.rs:300:1 | |
| | | |
| 300 | pub mod strava { | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a module | |
| --> src/oauth2_client/client.rs:452:1 | |
| | | |
| 452 | pub mod fitbit { | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/oauth2_client/flow_manager.rs:422:5 | |
| | | |
| 422 | pub const fn new(resources: Arc<ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_client/tenant_client.rs:38:5 | |
| | | |
| 38 | pub oauth_manager: Arc<Mutex<TenantOAuthManager>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/http_setup.rs:33:5 | |
| | | |
| 33 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/mcp/multitenant.rs:2312:5 | |
| | | |
| 2312 | / pub async fn route_provider_tool( | |
| 2313 | | tool_name: &str, | |
| 2314 | | args: &Value, | |
| 2315 | | request_id: Value, | |
| 2316 | | _user_id: Uuid, | |
| 2317 | | ctx: &ToolRoutingContext<'_>, | |
| 2318 | | ) -> McpResponse { | |
| | |____________________^ | |
| error: missing documentation for an associated function | |
| --> src/mcp/oauth_flow_manager.rs:422:5 | |
| | | |
| 422 | pub const fn new(resources: Arc<ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:41:5 | |
| | | |
| 41 | pub database: Arc<Database>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:42:5 | |
| | | |
| 42 | pub auth_manager: Arc<AuthManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:43:5 | |
| | | |
| 43 | pub jwks_manager: Arc<JwksManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:44:5 | |
| | | |
| 44 | pub auth_middleware: Arc<McpAuthMiddleware>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:45:5 | |
| | | |
| 45 | pub websocket_manager: Arc<WebSocketManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:46:5 | |
| | | |
| 46 | pub tenant_oauth_client: Arc<TenantOAuthClient>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:47:5 | |
| | | |
| 47 | pub provider_registry: Arc<ProviderRegistry>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:48:5 | |
| | | |
| 48 | pub admin_jwt_secret: Arc<str>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:49:5 | |
| | | |
| 49 | pub config: Arc<crate::config::environment::ServerConfig>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:50:5 | |
| | | |
| 50 | pub activity_intelligence: Arc<ActivityIntelligence>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:51:5 | |
| | | |
| 51 | pub a2a_client_manager: Arc<A2AClientManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:52:5 | |
| | | |
| 52 | pub a2a_system_user_service: Arc<A2ASystemUserService>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:53:5 | |
| | | |
| 53 | pub oauth_notification_sender: Option<broadcast::Sender<OAuthCompletedNotification>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:54:5 | |
| | | |
| 54 | pub sse_manager: Arc<crate::sse::SseManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:55:5 | |
| | | |
| 55 | pub cache: Arc<Cache>, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:56:5 | |
| | | |
| 56 | pub plugin_executor: Option<Arc<PluginToolExecutor>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:57:5 | |
| | | |
| 57 | pub redaction_config: Arc<RedactionConfig>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/resources.rs:58:5 | |
| | | |
| 58 | pub oauth2_rate_limiter: Arc<crate::oauth2_server::rate_limiting::OAuth2RateLimiter>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/mcp/schema.rs:107:5 | |
| | | |
| 107 | Text { text: String }, | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:107:12 | |
| | | |
| 107 | Text { text: String }, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/mcp/schema.rs:109:5 | |
| | | |
| 109 | Image { | |
| | ^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:110:9 | |
| | | |
| 110 | data: String, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:112:9 | |
| | | |
| 112 | mime_type: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/mcp/schema.rs:115:5 | |
| | | |
| 115 | Resource { | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:116:9 | |
| | | |
| 116 | uri: String, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:118:9 | |
| | | |
| 118 | text: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:120:9 | |
| | | |
| 120 | mime_type: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/mcp/schema.rs:123:5 | |
| | | |
| 123 | Progress { | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:125:9 | |
| | | |
| 125 | progress_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:126:9 | |
| | | |
| 126 | progress: f64, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:127:9 | |
| | | |
| 127 | total: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:372:5 | |
| | | |
| 372 | pub jsonrpc: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:373:5 | |
| | | |
| 373 | pub method: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:374:5 | |
| | | |
| 374 | pub params: ProgressParams, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:381:5 | |
| | | |
| 381 | pub progress_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:382:5 | |
| | | |
| 382 | pub progress: f64, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:383:5 | |
| | | |
| 383 | pub total: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:385:5 | |
| | | |
| 385 | pub message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:428:5 | |
| | | |
| 428 | pub jsonrpc: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:429:5 | |
| | | |
| 429 | pub method: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:430:5 | |
| | | |
| 430 | pub params: OAuthCompletedParams, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:436:5 | |
| | | |
| 436 | pub provider: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:437:5 | |
| | | |
| 437 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:438:5 | |
| | | |
| 438 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/schema.rs:440:5 | |
| | | |
| 440 | pub user_id: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/mcp/server_lifecycle.rs:198:5 | |
| | | |
| 198 | InvalidRequest(String), | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/mcp/server_lifecycle.rs:199:5 | |
| | | |
| 199 | SerializationError(serde_json::Error), | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/sse_transport.rs:20:5 | |
| | | |
| 20 | pub event_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/sse_transport.rs:21:5 | |
| | | |
| 21 | pub data: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tenant_isolation.rs:272:5 | |
| | | |
| 272 | pub tenant_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tenant_isolation.rs:273:5 | |
| | | |
| 273 | pub database: Arc<Database>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tenant_isolation.rs:354:5 | |
| | | |
| 354 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tenant_isolation.rs:355:5 | |
| | | |
| 355 | pub tenant_context: TenantContext, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tenant_isolation.rs:356:5 | |
| | | |
| 356 | pub expires_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tool_handlers.rs:39:5 | |
| | | |
| 39 | pub strava_client_id: Option<&'a str>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tool_handlers.rs:40:5 | |
| | | |
| 40 | pub strava_client_secret: Option<&'a str>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tool_handlers.rs:41:5 | |
| | | |
| 41 | pub fitbit_client_id: Option<&'a str>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tool_handlers.rs:42:5 | |
| | | |
| 42 | pub fitbit_client_secret: Option<&'a str>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tool_handlers.rs:47:5 | |
| | | |
| 47 | pub resources: &'a Arc<ServerResources>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tool_handlers.rs:48:5 | |
| | | |
| 48 | pub tenant_context: &'a Option<TenantContext>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/mcp/tool_handlers.rs:49:5 | |
| | | |
| 49 | pub auth_result: &'a AuthResult, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/mcp/transport_manager.rs:121:5 | |
| | | |
| 121 | pub const fn new(resources: Arc<ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/mcp/transport_manager.rs:218:5 | |
| | | |
| 218 | pub const fn new(resources: Arc<ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:314:5 | |
| | | |
| 314 | pub zone1_recovery: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:315:5 | |
| | | |
| 315 | pub zone2_endurance: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:316:5 | |
| | | |
| 316 | pub zone3_tempo: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:317:5 | |
| | | |
| 317 | pub zone4_threshold: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:318:5 | |
| | | |
| 318 | pub zone5_vo2max: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:324:5 | |
| | | |
| 324 | pub record_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:325:5 | |
| | | |
| 325 | pub value: f64, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:326:5 | |
| | | |
| 326 | pub unit: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:327:5 | |
| | | |
| 327 | pub previous_best: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:328:5 | |
| | | |
| 328 | pub improvement_percentage: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:334:5 | |
| | | |
| 334 | pub pace_trend: TrendDirection, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:335:5 | |
| | | |
| 335 | pub effort_trend: TrendDirection, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:336:5 | |
| | | |
| 336 | pub distance_trend: TrendDirection, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:337:5 | |
| | | |
| 337 | pub consistency_score: f32, // 0-100 | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:344:5 | |
| | | |
| 344 | Improving, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:346:5 | |
| | | |
| 346 | Stable, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:347:5 | |
| | | |
| 347 | Declining, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:353:5 | |
| | | |
| 353 | pub weather: Option<WeatherConditions>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:354:5 | |
| | | |
| 354 | pub location: Option<LocationContext>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:355:5 | |
| | | |
| 355 | pub time_of_day: TimeOfDay, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:356:5 | |
| | | |
| 356 | pub days_since_last_activity: Option<i32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:357:5 | |
| | | |
| 357 | pub weekly_load: Option<ContextualWeeklyLoad>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:363:5 | |
| | | |
| 363 | pub temperature_celsius: f32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:364:5 | |
| | | |
| 364 | pub humidity_percentage: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:365:5 | |
| | | |
| 365 | pub wind_speed_kmh: Option<f32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:366:5 | |
| | | |
| 366 | pub conditions: String, // "sunny", "rainy", "cloudy", etc. | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:372:5 | |
| | | |
| 372 | pub city: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:373:5 | |
| | | |
| 373 | pub region: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:374:5 | |
| | | |
| 374 | pub country: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:375:5 | |
| | | |
| 375 | pub trail_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:376:5 | |
| | | |
| 376 | pub terrain_type: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:377:5 | |
| | | |
| 377 | pub display_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:384:5 | |
| | | |
| 384 | EarlyMorning, // 5-7 AM | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:386:5 | |
| | | |
| 386 | Morning, // 7-11 AM | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:387:5 | |
| | | |
| 387 | Midday, // 11 AM - 2 PM | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:388:5 | |
| | | |
| 388 | Afternoon, // 2-6 PM | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:389:5 | |
| | | |
| 389 | Evening, // 6-9 PM | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:390:5 | |
| | | |
| 390 | Night, // 9 PM - 5 AM | |
| | ^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:396:5 | |
| | | |
| 396 | pub total_distance_km: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:397:5 | |
| | | |
| 397 | pub total_duration_hours: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:398:5 | |
| | | |
| 398 | pub activity_count: i32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:399:5 | |
| | | |
| 399 | pub load_trend: TrendDirection, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:456:5 | |
| | | |
| 456 | Week, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:457:5 | |
| | | |
| 457 | Month, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:458:5 | |
| | | |
| 458 | Quarter, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:459:5 | |
| | | |
| 459 | SixMonths, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:460:5 | |
| | | |
| 460 | Year, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:461:5 | |
| | | |
| 461 | Custom { | |
| | ^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:462:9 | |
| | | |
| 462 | start: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:463:9 | |
| | | |
| 463 | end: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:507:5 | |
| | | |
| 507 | Low = 1, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:508:5 | |
| | | |
| 508 | Medium = 2, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:509:5 | |
| | | |
| 509 | High = 3, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:510:5 | |
| | | |
| 510 | VeryHigh = 4, | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:543:5 | |
| | | |
| 543 | pub activity_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:544:5 | |
| | | |
| 544 | pub overall_score: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:545:5 | |
| | | |
| 545 | pub insights: Vec<AdvancedInsight>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:546:5 | |
| | | |
| 546 | pub metrics: AdvancedMetrics, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:547:5 | |
| | | |
| 547 | pub recommendations: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:548:5 | |
| | | |
| 548 | pub anomalies: Vec<Anomaly>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:554:5 | |
| | | |
| 554 | pub insight_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:555:5 | |
| | | |
| 555 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:556:5 | |
| | | |
| 556 | pub confidence: Confidence, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:557:5 | |
| | | |
| 557 | pub severity: InsightSeverity, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:558:5 | |
| | | |
| 558 | pub metadata: std::collections::HashMap<String, serde_json::Value>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:564:5 | |
| | | |
| 564 | Info, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:565:5 | |
| | | |
| 565 | Warning, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:566:5 | |
| | | |
| 566 | Critical, | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:572:5 | |
| | | |
| 572 | pub anomaly_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:573:5 | |
| | | |
| 573 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:574:5 | |
| | | |
| 574 | pub severity: InsightSeverity, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:575:5 | |
| | | |
| 575 | pub confidence: Confidence, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:576:5 | |
| | | |
| 576 | pub affected_metric: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:577:5 | |
| | | |
| 577 | pub expected_value: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:578:5 | |
| | | |
| 578 | pub actual_value: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:584:5 | |
| | | |
| 584 | pub timeframe: TimeFrame, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:585:5 | |
| | | |
| 585 | pub metric: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:586:5 | |
| | | |
| 586 | pub trend_direction: TrendDirection, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:587:5 | |
| | | |
| 587 | pub trend_strength: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:588:5 | |
| | | |
| 588 | pub statistical_significance: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:589:5 | |
| | | |
| 589 | pub data_points: Vec<TrendDataPoint>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:590:5 | |
| | | |
| 590 | pub insights: Vec<AdvancedInsight>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:596:5 | |
| | | |
| 596 | pub date: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:597:5 | |
| | | |
| 597 | pub value: f64, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:598:5 | |
| | | |
| 598 | pub smoothed_value: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:604:5 | |
| | | |
| 604 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:605:5 | |
| | | |
| 605 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:606:5 | |
| | | |
| 606 | pub title: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:607:5 | |
| | | |
| 607 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:608:5 | |
| | | |
| 608 | pub goal_type: GoalType, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:609:5 | |
| | | |
| 609 | pub target_value: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:610:5 | |
| | | |
| 610 | pub target_date: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:611:5 | |
| | | |
| 611 | pub current_value: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:612:5 | |
| | | |
| 612 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:613:5 | |
| | | |
| 613 | pub updated_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:614:5 | |
| | | |
| 614 | pub status: GoalStatus, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:620:5 | |
| | | |
| 620 | Distance { | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:621:9 | |
| | | |
| 621 | sport: String, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:622:9 | |
| | | |
| 622 | timeframe: TimeFrame, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:624:5 | |
| | | |
| 624 | Time { | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:625:9 | |
| | | |
| 625 | sport: String, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:626:9 | |
| | | |
| 626 | distance: f64, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:628:5 | |
| | | |
| 628 | Frequency { | |
| | ^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:629:9 | |
| | | |
| 629 | sport: String, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:630:9 | |
| | | |
| 630 | sessions_per_week: i32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:632:5 | |
| | | |
| 632 | Performance { | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:633:9 | |
| | | |
| 633 | metric: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:634:9 | |
| | | |
| 634 | improvement_percent: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:636:5 | |
| | | |
| 636 | Custom { | |
| | ^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:637:9 | |
| | | |
| 637 | metric: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:638:9 | |
| | | |
| 638 | unit: String, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:645:5 | |
| | | |
| 645 | Active, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:646:5 | |
| | | |
| 646 | Completed, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:647:5 | |
| | | |
| 647 | Paused, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:648:5 | |
| | | |
| 648 | Cancelled, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:654:5 | |
| | | |
| 654 | pub goal_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:655:5 | |
| | | |
| 655 | pub progress_percentage: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:656:5 | |
| | | |
| 656 | pub completion_date_estimate: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:657:5 | |
| | | |
| 657 | pub milestones_achieved: Vec<Milestone>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:658:5 | |
| | | |
| 658 | pub insights: Vec<AdvancedInsight>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:659:5 | |
| | | |
| 659 | pub recommendations: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:660:5 | |
| | | |
| 660 | pub on_track: bool, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:666:5 | |
| | | |
| 666 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:667:5 | |
| | | |
| 667 | pub target_value: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:668:5 | |
| | | |
| 668 | pub achieved_date: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:669:5 | |
| | | |
| 669 | pub achieved: bool, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:675:5 | |
| | | |
| 675 | pub recommendation_type: RecommendationType, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:676:5 | |
| | | |
| 676 | pub title: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:677:5 | |
| | | |
| 677 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:678:5 | |
| | | |
| 678 | pub priority: RecommendationPriority, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:679:5 | |
| | | |
| 679 | pub confidence: Confidence, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:680:5 | |
| | | |
| 680 | pub rationale: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:681:5 | |
| | | |
| 681 | pub actionable_steps: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:687:5 | |
| | | |
| 687 | Intensity, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:688:5 | |
| | | |
| 688 | Volume, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:689:5 | |
| | | |
| 689 | Recovery, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:690:5 | |
| | | |
| 690 | Technique, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:691:5 | |
| | | |
| 691 | Nutrition, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:692:5 | |
| | | |
| 692 | Equipment, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:693:5 | |
| | | |
| 693 | Strategy, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:699:5 | |
| | | |
| 699 | Low, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:700:5 | |
| | | |
| 700 | Medium, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:701:5 | |
| | | |
| 701 | High, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:702:5 | |
| | | |
| 702 | Critical, | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:708:5 | |
| | | |
| 708 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:709:5 | |
| | | |
| 709 | pub age: Option<i32>, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:710:5 | |
| | | |
| 710 | pub gender: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:711:5 | |
| | | |
| 711 | pub weight: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:712:5 | |
| | | |
| 712 | pub height: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:713:5 | |
| | | |
| 713 | pub fitness_level: FitnessLevel, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:714:5 | |
| | | |
| 714 | pub primary_sports: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:715:5 | |
| | | |
| 715 | pub training_history_months: i32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:716:5 | |
| | | |
| 716 | pub preferences: UserPreferences, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:722:5 | |
| | | |
| 722 | Beginner, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:723:5 | |
| | | |
| 723 | Intermediate, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:724:5 | |
| | | |
| 724 | Advanced, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/mod.rs:725:5 | |
| | | |
| 725 | Elite, | |
| | ^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:731:5 | |
| | | |
| 731 | pub preferred_units: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:732:5 | |
| | | |
| 732 | pub training_focus: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:733:5 | |
| | | |
| 733 | pub injury_history: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:734:5 | |
| | | |
| 734 | pub time_availability: TimeAvailability, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:740:5 | |
| | | |
| 740 | pub hours_per_week: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:741:5 | |
| | | |
| 741 | pub preferred_days: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/mod.rs:742:5 | |
| | | |
| 742 | pub preferred_duration_minutes: Option<i32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analyzer.rs:487:5 | |
| | | |
| 487 | InsufficientData, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analyzer.rs:490:5 | |
| | | |
| 490 | InvalidData(String), | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analyzer.rs:493:5 | |
| | | |
| 493 | ComputationError(String), | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/insights.rs:398:5 | |
| | | |
| 398 | pub location: Option<super::LocationContext>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/insights.rs:399:5 | |
| | | |
| 399 | pub recent_activities: Option<Vec<Activity>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/weather.rs:425:5 | |
| | | |
| 425 | pub difficulty_level: WeatherDifficulty, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/weather.rs:426:5 | |
| | | |
| 426 | pub impact_factors: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/weather.rs:427:5 | |
| | | |
| 427 | pub performance_adjustment: f32, // Percentage adjustment to expected performance | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:434:5 | |
| | | |
| 434 | Ideal, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:435:5 | |
| | | |
| 435 | Challenging, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:436:5 | |
| | | |
| 436 | Difficult, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:437:5 | |
| | | |
| 437 | Extreme, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:444:5 | |
| | | |
| 444 | ApiError(String), | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:447:5 | |
| | | |
| 447 | InvalidCoordinates { lat: f64, lon: f64 }, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/weather.rs:447:26 | |
| | | |
| 447 | InvalidCoordinates { lat: f64, lon: f64 }, | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/weather.rs:447:36 | |
| | | |
| 447 | InvalidCoordinates { lat: f64, lon: f64 }, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:450:5 | |
| | | |
| 450 | DataUnavailable, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:453:5 | |
| | | |
| 453 | ApiDisabled, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/weather.rs:456:5 | |
| | | |
| 456 | NetworkError(#[from] reqwest::Error), | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:621:5 | |
| | | |
| 621 | pub goal_type: GoalType, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:622:5 | |
| | | |
| 622 | pub suggested_target: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:623:5 | |
| | | |
| 623 | pub rationale: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:624:5 | |
| | | |
| 624 | pub difficulty: GoalDifficulty, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:625:5 | |
| | | |
| 625 | pub estimated_timeline_days: i32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:626:5 | |
| | | |
| 626 | pub success_probability: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:632:5 | |
| | | |
| 632 | Easy, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:633:5 | |
| | | |
| 633 | Moderate, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:634:5 | |
| | | |
| 634 | Challenging, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:635:5 | |
| | | |
| 635 | Ambitious, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:636:5 | |
| | | |
| 636 | Unknown, | |
| | ^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:642:5 | |
| | | |
| 642 | pub adjustment_type: AdjustmentType, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:643:5 | |
| | | |
| 643 | pub new_target_value: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:644:5 | |
| | | |
| 644 | pub rationale: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/goal_engine.rs:645:5 | |
| | | |
| 645 | pub confidence: Confidence, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:651:5 | |
| | | |
| 651 | IncreaseTarget, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:652:5 | |
| | | |
| 652 | DecreaseTarget, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:653:5 | |
| | | |
| 653 | ExtendDeadline, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/goal_engine.rs:654:5 | |
| | | |
| 654 | ChangeApproach, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics.rs:722:5 | |
| | | |
| 722 | pub zone1_percentage: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics.rs:723:5 | |
| | | |
| 723 | pub zone2_percentage: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics.rs:724:5 | |
| | | |
| 724 | pub zone3_percentage: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics.rs:725:5 | |
| | | |
| 725 | pub zone4_percentage: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics.rs:726:5 | |
| | | |
| 726 | pub zone5_percentage: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics.rs:727:5 | |
| | | |
| 727 | pub time_in_zones: HashMap<String, f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:790:5 | |
| | | |
| 790 | pub overall_score: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:791:5 | |
| | | |
| 791 | pub aerobic_fitness: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:792:5 | |
| | | |
| 792 | pub strength_endurance: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:793:5 | |
| | | |
| 793 | pub consistency: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:794:5 | |
| | | |
| 794 | pub trend: TrendDirection, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:795:5 | |
| | | |
| 795 | pub last_updated: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:801:5 | |
| | | |
| 801 | pub sport_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:802:5 | |
| | | |
| 802 | pub metric: String, // "distance", "time", "pace" | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:803:5 | |
| | | |
| 803 | pub target_value: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:804:5 | |
| | | |
| 804 | pub target_date: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:810:5 | |
| | | |
| 810 | pub target_goal: ActivityGoal, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:811:5 | |
| | | |
| 811 | pub predicted_value: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:812:5 | |
| | | |
| 812 | pub confidence: Confidence, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:813:5 | |
| | | |
| 813 | pub factors: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:814:5 | |
| | | |
| 814 | pub recommendations: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:815:5 | |
| | | |
| 815 | pub estimated_achievement_date: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:821:5 | |
| | | |
| 821 | pub weekly_loads: Vec<WeeklyLoad>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:822:5 | |
| | | |
| 822 | pub average_weekly_load: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:823:5 | |
| | | |
| 823 | pub load_balance_score: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:824:5 | |
| | | |
| 824 | pub recovery_needed: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:825:5 | |
| | | |
| 825 | pub recommendations: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:826:5 | |
| | | |
| 826 | pub insights: Vec<AdvancedInsight>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:832:5 | |
| | | |
| 832 | pub week_number: i32, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:833:5 | |
| | | |
| 833 | pub total_duration_hours: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:834:5 | |
| | | |
| 834 | pub total_distance_km: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:835:5 | |
| | | |
| 835 | pub activity_count: i32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer.rs:836:5 | |
| | | |
| 836 | pub intensity_score: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/intelligence/physiological_constants.rs:113:5 | |
| | | |
| 113 | pub const LOW_TSS_THRESHOLD: f64 = 50.0; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analysis_config.rs:15:5 | |
| | | |
| 15 | InvalidTimeframe(String), | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analysis_config.rs:18:5 | |
| | | |
| 18 | InvalidThreshold(String), | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analysis_config.rs:21:5 | |
| | | |
| 21 | ValidationFailed(String), | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/analysis_config.rs:143:5 | |
| | | |
| 143 | pub timeframes: AnalysisTimeframes, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/analysis_config.rs:144:5 | |
| | | |
| 144 | pub confidence: ConfidenceThresholds, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/analysis_config.rs:145:5 | |
| | | |
| 145 | pub statistical: StatisticalConfig, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/analysis_config.rs:146:5 | |
| | | |
| 146 | pub performance: PerformanceThresholds, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/analysis_config.rs:147:5 | |
| | | |
| 147 | pub fitness_scoring: FitnessScoring, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/analysis_config.rs:148:5 | |
| | | |
| 148 | pub min_activities_for_prediction: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/analysis_config.rs:149:5 | |
| | | |
| 149 | pub max_prediction_days: i64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analysis_config.rs:382:5 | |
| | | |
| 382 | Low, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analysis_config.rs:383:5 | |
| | | |
| 383 | Medium, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analysis_config.rs:384:5 | |
| | | |
| 384 | High, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/analysis_config.rs:385:5 | |
| | | |
| 385 | VeryHigh, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/metrics_extractor.rs:17:5 | |
| | | |
| 17 | Pace, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/metrics_extractor.rs:18:5 | |
| | | |
| 18 | Speed, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/metrics_extractor.rs:19:5 | |
| | | |
| 19 | HeartRate, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/metrics_extractor.rs:20:5 | |
| | | |
| 20 | Distance, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/metrics_extractor.rs:21:5 | |
| | | |
| 21 | Duration, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/metrics_extractor.rs:22:5 | |
| | | |
| 22 | Elevation, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/metrics_extractor.rs:23:5 | |
| | | |
| 23 | Power, | |
| | ^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics_extractor.rs:193:5 | |
| | | |
| 193 | pub metric_type: MetricType, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics_extractor.rs:194:5 | |
| | | |
| 194 | pub count: usize, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics_extractor.rs:195:5 | |
| | | |
| 195 | pub mean: f64, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics_extractor.rs:196:5 | |
| | | |
| 196 | pub median: f64, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics_extractor.rs:197:5 | |
| | | |
| 197 | pub std_dev: f64, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics_extractor.rs:198:5 | |
| | | |
| 198 | pub min: f64, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/metrics_extractor.rs:199:5 | |
| | | |
| 199 | pub max: f64, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/pattern_detection.rs:89:5 | |
| | | |
| 89 | Increasing, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/pattern_detection.rs:90:5 | |
| | | |
| 90 | Stable, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/pattern_detection.rs:91:5 | |
| | | |
| 91 | Decreasing, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer_v2.rs:736:5 | |
| | | |
| 736 | pub overall_score: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer_v2.rs:737:5 | |
| | | |
| 737 | pub aerobic_fitness: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer_v2.rs:738:5 | |
| | | |
| 738 | pub strength_endurance: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer_v2.rs:739:5 | |
| | | |
| 739 | pub consistency: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer_v2.rs:740:5 | |
| | | |
| 740 | pub trend: TrendDirection, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_analyzer_v2.rs:741:5 | |
| | | |
| 741 | pub last_updated: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/performance_prediction.rs:32:5 | |
| | | |
| 32 | pub based_on_time_seconds: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/statistical_analysis.rs:16:5 | |
| | | |
| 16 | pub slope: f64, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/statistical_analysis.rs:17:5 | |
| | | |
| 17 | pub intercept: f64, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/statistical_analysis.rs:18:5 | |
| | | |
| 18 | pub r_squared: f64, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/statistical_analysis.rs:19:5 | |
| | | |
| 19 | pub correlation: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/statistical_analysis.rs:20:5 | |
| | | |
| 20 | pub standard_error: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/statistical_analysis.rs:21:5 | |
| | | |
| 21 | pub degrees_of_freedom: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/statistical_analysis.rs:22:5 | |
| | | |
| 22 | pub p_value: Option<f64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/statistical_analysis.rs:28:5 | |
| | | |
| 28 | NotSignificant, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/statistical_analysis.rs:29:5 | |
| | | |
| 29 | Weak, // p < 0.1 | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/statistical_analysis.rs:30:5 | |
| | | |
| 30 | Moderate, // p < 0.05 | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/statistical_analysis.rs:31:5 | |
| | | |
| 31 | Strong, // p < 0.01 | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/statistical_analysis.rs:32:5 | |
| | | |
| 32 | VeryStrong, // p < 0.001 | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/training_load.rs:35:5 | |
| | | |
| 35 | pub date: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/training_load.rs:36:5 | |
| | | |
| 36 | pub tss: f64, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/training_load.rs:339:5 | |
| | | |
| 339 | Low, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/training_load.rs:340:5 | |
| | | |
| 340 | Moderate, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/training_load.rs:341:5 | |
| | | |
| 341 | High, | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/training_load.rs:347:5 | |
| | | |
| 347 | pub risk_level: RiskLevel, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/training_load.rs:348:5 | |
| | | |
| 348 | pub risk_factors: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:99:5 | |
| | | |
| 99 | Excellent, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:100:5 | |
| | | |
| 100 | Good, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:101:5 | |
| | | |
| 101 | Fair, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:102:5 | |
| | | |
| 102 | Poor, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:109:5 | |
| | | |
| 109 | ReadyForHard, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:110:5 | |
| | | |
| 110 | ReadyForModerate, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:111:5 | |
| | | |
| 111 | EasyOnly, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/recovery_calculator.rs:112:5 | |
| | | |
| 112 | RestNeeded, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:93:5 | |
| | | |
| 93 | Excellent, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:94:5 | |
| | | |
| 94 | Good, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:95:5 | |
| | | |
| 95 | Fair, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:96:5 | |
| | | |
| 96 | Poor, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:162:5 | |
| | | |
| 162 | Recovered, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:163:5 | |
| | | |
| 163 | Normal, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:164:5 | |
| | | |
| 164 | Fatigued, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:165:5 | |
| | | |
| 165 | HighlyFatigued, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:172:5 | |
| | | |
| 172 | Improving, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:173:5 | |
| | | |
| 173 | Stable, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/sleep_analysis.rs:174:5 | |
| | | |
| 174 | Declining, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:39:5 | |
| | | |
| 39 | Male, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:40:5 | |
| | | |
| 40 | Female, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:46:5 | |
| | | |
| 46 | Sedentary, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:47:5 | |
| | | |
| 47 | LightlyActive, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:48:5 | |
| | | |
| 48 | ModeratelyActive, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:49:5 | |
| | | |
| 49 | VeryActive, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:50:5 | |
| | | |
| 50 | ExtraActive, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:56:5 | |
| | | |
| 56 | WeightLoss, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:57:5 | |
| | | |
| 57 | Maintenance, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:58:5 | |
| | | |
| 58 | MuscleGain, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:59:5 | |
| | | |
| 59 | EndurancePerformance, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:60:5 | |
| | | |
| 60 | StrengthPerformance, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:66:5 | |
| | | |
| 66 | Low, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:67:5 | |
| | | |
| 67 | Moderate, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/intelligence/nutrition_calculator.rs:68:5 | |
| | | |
| 68 | High, | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/nutrition_calculator.rs:445:5 | |
| | | |
| 445 | pub weight_kg: f64, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/nutrition_calculator.rs:446:5 | |
| | | |
| 446 | pub height_cm: f64, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/nutrition_calculator.rs:447:5 | |
| | | |
| 447 | pub age: u32, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/nutrition_calculator.rs:448:5 | |
| | | |
| 448 | pub gender: Gender, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/nutrition_calculator.rs:449:5 | |
| | | |
| 449 | pub activity_level: ActivityLevel, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/nutrition_calculator.rs:450:5 | |
| | | |
| 450 | pub training_goal: TrainingGoal, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/algorithms/training_load.rs:99:5 | |
| | | |
| 99 | pub date: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/intelligence/algorithms/training_load.rs:100:5 | |
| | | |
| 100 | pub tss: f64, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/external/usda_client.rs:116:5 | |
| | | |
| 116 | pub serving_size_unit: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/catalog.rs:70:5 | |
| | | |
| 70 | Float, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/catalog.rs:71:5 | |
| | | |
| 71 | Integer, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/catalog.rs:72:5 | |
| | | |
| 72 | Boolean, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/catalog.rs:73:5 | |
| | | |
| 73 | String, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/profiles.rs:209:5 | |
| | | |
| 209 | Beginner, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/profiles.rs:210:5 | |
| | | |
| 210 | Recreational, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/profiles.rs:211:5 | |
| | | |
| 211 | Intermediate, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/profiles.rs:212:5 | |
| | | |
| 212 | Advanced, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/profiles.rs:213:5 | |
| | | |
| 213 | Elite, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/profiles.rs:214:5 | |
| | | |
| 214 | Professional, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/runtime.rs:52:5 | |
| | | |
| 52 | Float(f64), | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/runtime.rs:53:5 | |
| | | |
| 53 | Integer(i64), | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/runtime.rs:54:5 | |
| | | |
| 54 | Boolean(bool), | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/runtime.rs:55:5 | |
| | | |
| 55 | String(String), | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/runtime.rs:56:5 | |
| | | |
| 56 | FloatRange { min: f64, max: f64 }, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:56:18 | |
| | | |
| 56 | FloatRange { min: f64, max: f64 }, | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:56:28 | |
| | | |
| 56 | FloatRange { min: f64, max: f64 }, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/runtime.rs:57:5 | |
| | | |
| 57 | IntegerRange { min: i64, max: i64 }, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:57:20 | |
| | | |
| 57 | IntegerRange { min: i64, max: i64 }, | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:57:30 | |
| | | |
| 57 | IntegerRange { min: i64, max: i64 }, | |
| | ^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:63:5 | |
| | | |
| 63 | pub timestamp: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:64:5 | |
| | | |
| 64 | pub module: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:65:5 | |
| | | |
| 65 | pub parameter: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:66:5 | |
| | | |
| 66 | pub old_value: Option<ConfigValue>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:67:5 | |
| | | |
| 67 | pub new_value: ConfigValue, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:68:5 | |
| | | |
| 68 | pub reason: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:338:5 | |
| | | |
| 338 | pub profile: ConfigProfile, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:339:5 | |
| | | |
| 339 | pub session_overrides: HashMap<String, ConfigValue>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:340:5 | |
| | | |
| 340 | pub user_profile: Option<UserPhysiologicalProfile>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:341:5 | |
| | | |
| 341 | pub vo2_calculator_state: Option<VO2CalculatorState>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:342:5 | |
| | | |
| 342 | pub last_modified: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:348:5 | |
| | | |
| 348 | pub vo2_max: f64, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:349:5 | |
| | | |
| 349 | pub resting_hr: u16, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:350:5 | |
| | | |
| 350 | pub max_hr: u16, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/runtime.rs:351:5 | |
| | | |
| 351 | pub lactate_threshold: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/validation.rs:53:5 | |
| | | |
| 53 | Low, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/validation.rs:54:5 | |
| | | |
| 54 | Medium, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/configuration/validation.rs:55:5 | |
| | | |
| 55 | High, | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/vo2_max.rs:45:5 | |
| | | |
| 45 | pub zone1_upper: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/vo2_max.rs:49:5 | |
| | | |
| 49 | pub zone2_upper: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/vo2_max.rs:53:5 | |
| | | |
| 53 | pub zone3_upper: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/vo2_max.rs:57:5 | |
| | | |
| 57 | pub zone4_upper: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/vo2_max.rs:61:5 | |
| | | |
| 61 | pub zone5_upper: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/configuration/vo2_max.rs:65:5 | |
| | | |
| 65 | pub zone6_upper: Option<u16>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a method | |
| --> src/configuration/vo2_max.rs:332:5 | |
| | | |
| 332 | fn sport_efficiency_factor(&self) -> f64; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:45:1 | |
| | | |
| 45 | pub struct PersonalizedZonesRequest { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:59:1 | |
| | | |
| 59 | pub struct ValidateConfigurationRequest { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:65:1 | |
| | | |
| 65 | pub struct ConfigurationCatalogResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:73:1 | |
| | | |
| 73 | pub struct ConfigurationProfilesResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:83:1 | |
| | | |
| 83 | pub struct ProfileInfo { | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:95:1 | |
| | | |
| 95 | pub struct UserConfigurationResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:109:1 | |
| | | |
| 109 | pub struct ConfigurationDetails { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:119:1 | |
| | | |
| 119 | pub struct UpdateConfigurationResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:131:1 | |
| | | |
| 131 | pub struct UpdatedConfigurationDetails { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:141:1 | |
| | | |
| 141 | pub struct PersonalizedZonesResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:153:1 | |
| | | |
| 153 | pub struct UserProfileParameters { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:167:1 | |
| | | |
| 167 | pub struct PersonalizedZones { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:179:1 | |
| | | |
| 179 | pub struct ZoneCalculationMethods { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:189:1 | |
| | | |
| 189 | pub struct ValidationResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:213:1 | |
| | | |
| 213 | pub struct SafetyChecks { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/configuration_routes.rs:223:1 | |
| | | |
| 223 | pub struct ResponseMetadata { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/fitness_configuration_routes.rs:21:1 | |
| | | |
| 21 | pub struct SaveFitnessConfigRequest { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/fitness_configuration_routes.rs:29:1 | |
| | | |
| 29 | pub struct GetFitnessConfigRequest { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/fitness_configuration_routes.rs:35:1 | |
| | | |
| 35 | pub struct FitnessConfigurationResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/fitness_configuration_routes.rs:55:1 | |
| | | |
| 55 | pub struct FitnessConfigurationListResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/fitness_configuration_routes.rs:65:1 | |
| | | |
| 65 | pub struct FitnessConfigurationSaveResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/fitness_configuration_routes.rs:75:1 | |
| | | |
| 75 | pub struct ResponseMetadata { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:19:5 | |
| | | |
| 19 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:20:5 | |
| | | |
| 20 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:21:5 | |
| | | |
| 21 | pub version: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:22:5 | |
| | | |
| 22 | pub capabilities: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:23:5 | |
| | | |
| 23 | pub authentication: AuthenticationInfo, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:24:5 | |
| | | |
| 24 | pub tools: Vec<ToolDefinition>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:26:5 | |
| | | |
| 26 | pub metadata: Option<HashMap<String, Value>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:32:5 | |
| | | |
| 32 | pub schemes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:34:5 | |
| | | |
| 34 | pub oauth2: Option<OAuth2Info>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:36:5 | |
| | | |
| 36 | pub api_key: Option<ApiKeyInfo>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:42:5 | |
| | | |
| 42 | pub authorization_url: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:43:5 | |
| | | |
| 43 | pub token_url: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:44:5 | |
| | | |
| 44 | pub scopes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:50:5 | |
| | | |
| 50 | pub header_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:51:5 | |
| | | |
| 51 | pub prefix: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:52:5 | |
| | | |
| 52 | pub registration_url: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:58:5 | |
| | | |
| 58 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:59:5 | |
| | | |
| 59 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:60:5 | |
| | | |
| 60 | pub input_schema: Value, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:61:5 | |
| | | |
| 61 | pub output_schema: Value, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:63:5 | |
| | | |
| 63 | pub examples: Option<Vec<ToolExample>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:69:5 | |
| | | |
| 69 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:70:5 | |
| | | |
| 70 | pub input: Value, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/agent_card.rs:71:5 | |
| | | |
| 71 | pub output: Value, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:23:5 | |
| | | |
| 23 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:24:5 | |
| | | |
| 24 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:25:5 | |
| | | |
| 25 | pub scopes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:26:5 | |
| | | |
| 26 | pub expires_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:27:5 | |
| | | |
| 27 | pub created_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:33:5 | |
| | | |
| 33 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:34:5 | |
| | | |
| 34 | pub user_id: uuid::Uuid, // User ID for session tracking and consistency | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:35:5 | |
| | | |
| 35 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:36:5 | |
| | | |
| 36 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:37:5 | |
| | | |
| 37 | pub public_key: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:38:5 | |
| | | |
| 38 | pub capabilities: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:39:5 | |
| | | |
| 39 | pub redirect_uris: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:40:5 | |
| | | |
| 40 | pub is_active: bool, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:41:5 | |
| | | |
| 41 | pub created_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:44:5 | |
| | | |
| 44 | pub permissions: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:46:5 | |
| | | |
| 46 | pub rate_limit_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:48:5 | |
| | | |
| 48 | pub rate_limit_window_seconds: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/auth.rs:50:5 | |
| | | |
| 50 | pub updated_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/a2a/auth.rs:73:5 | |
| | | |
| 73 | pub const fn new(resources: Arc<crate::mcp::resources::ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:32:5 | |
| | | |
| 32 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:33:5 | |
| | | |
| 33 | pub description: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:34:5 | |
| | | |
| 34 | pub capabilities: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:35:5 | |
| | | |
| 35 | pub redirect_uris: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:36:5 | |
| | | |
| 36 | pub contact_email: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:42:5 | |
| | | |
| 42 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:43:5 | |
| | | |
| 43 | pub client_secret: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:44:5 | |
| | | |
| 44 | pub api_key: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:45:5 | |
| | | |
| 45 | pub public_key: String, // Ed25519 public key for verification | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:46:5 | |
| | | |
| 46 | pub private_key: String, // Ed25519 private key for signing (client-side only) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:47:5 | |
| | | |
| 47 | pub key_type: String, // "ed25519" | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:53:5 | |
| | | |
| 53 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:54:5 | |
| | | |
| 54 | pub requests_today: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:55:5 | |
| | | |
| 55 | pub requests_this_month: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:56:5 | |
| | | |
| 56 | pub total_requests: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:57:5 | |
| | | |
| 57 | pub last_request_at: Option<chrono::DateTime<chrono::Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:58:5 | |
| | | |
| 58 | pub rate_limit_tier: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/client.rs:65:5 | |
| | | |
| 65 | Trial, // 1,000 requests/month, auto-expires in 30 days | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/client.rs:66:5 | |
| | | |
| 66 | Standard, // 10,000 requests/month | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/client.rs:67:5 | |
| | | |
| 67 | Professional, // 100,000 requests/month | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/client.rs:68:5 | |
| | | |
| 68 | Enterprise, // Unlimited | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:100:5 | |
| | | |
| 100 | pub is_rate_limited: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:101:5 | |
| | | |
| 101 | pub limit: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:102:5 | |
| | | |
| 102 | pub remaining: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:103:5 | |
| | | |
| 103 | pub reset_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:104:5 | |
| | | |
| 104 | pub tier: A2AClientTier, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:110:5 | |
| | | |
| 110 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:111:5 | |
| | | |
| 111 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:112:5 | |
| | | |
| 112 | pub user_id: Option<uuid::Uuid>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:113:5 | |
| | | |
| 113 | pub granted_scopes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:114:5 | |
| | | |
| 114 | pub created_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:115:5 | |
| | | |
| 115 | pub expires_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:116:5 | |
| | | |
| 116 | pub last_activity: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:117:5 | |
| | | |
| 117 | pub requests_count: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:123:5 | |
| | | |
| 123 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:124:5 | |
| | | |
| 124 | pub session_token: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:125:5 | |
| | | |
| 125 | pub tool_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:126:5 | |
| | | |
| 126 | pub response_time_ms: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:127:5 | |
| | | |
| 127 | pub status_code: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:128:5 | |
| | | |
| 128 | pub error_message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:129:5 | |
| | | |
| 129 | pub request_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:130:5 | |
| | | |
| 130 | pub response_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:131:5 | |
| | | |
| 131 | pub ip_address: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:132:5 | |
| | | |
| 132 | pub user_agent: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:133:5 | |
| | | |
| 133 | pub client_capabilities: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/client.rs:134:5 | |
| | | |
| 134 | pub granted_scopes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:128:5 | |
| | | |
| 128 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:129:5 | |
| | | |
| 129 | pub version: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:131:5 | |
| | | |
| 131 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:150:5 | |
| | | |
| 150 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:151:5 | |
| | | |
| 151 | pub version: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:153:5 | |
| | | |
| 153 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:186:5 | |
| | | |
| 186 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:187:5 | |
| | | |
| 187 | pub parts: Vec<MessagePart>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:189:5 | |
| | | |
| 189 | pub metadata: Option<HashMap<String, Value>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:197:5 | |
| | | |
| 197 | Text { content: String }, | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:197:12 | |
| | | |
| 197 | Text { content: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:199:5 | |
| | | |
| 199 | Data { content: Value }, | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:199:12 | |
| | | |
| 199 | Data { content: Value }, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:201:5 | |
| | | |
| 201 | File { | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:202:9 | |
| | | |
| 202 | name: String, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:203:9 | |
| | | |
| 203 | mime_type: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:204:9 | |
| | | |
| 204 | content: String, // base64 encoded | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:211:5 | |
| | | |
| 211 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:212:5 | |
| | | |
| 212 | pub status: TaskStatus, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:213:5 | |
| | | |
| 213 | pub created_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:215:5 | |
| | | |
| 215 | pub completed_at: Option<chrono::DateTime<chrono::Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:217:5 | |
| | | |
| 217 | pub result: Option<Value>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:219:5 | |
| | | |
| 219 | pub error: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:221:5 | |
| | | |
| 221 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:222:5 | |
| | | |
| 222 | pub task_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:223:5 | |
| | | |
| 223 | pub input_data: Value, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:225:5 | |
| | | |
| 225 | pub output_data: Option<Value>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:227:5 | |
| | | |
| 227 | pub error_message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:228:5 | |
| | | |
| 228 | pub updated_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:235:5 | |
| | | |
| 235 | Pending, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:236:5 | |
| | | |
| 236 | Running, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:237:5 | |
| | | |
| 237 | Completed, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:238:5 | |
| | | |
| 238 | Failed, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/a2a/protocol.rs:239:5 | |
| | | |
| 239 | Cancelled, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:256:5 | |
| | | |
| 256 | pub version: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/a2a/protocol.rs:257:5 | |
| | | |
| 257 | pub resources: Option<std::sync::Arc<crate::mcp::resources::ServerResources>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/a2a_routes.rs:131:5 | |
| | | |
| 131 | pub fn new(resources: Arc<crate::mcp::resources::ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/database/mod.rs:35:1 | |
| | | |
| 35 | pub struct Database { | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:24:5 | |
| | | |
| 24 | pub id: Option<i64>, // Allow None for new records | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:25:5 | |
| | | |
| 25 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:26:5 | |
| | | |
| 26 | pub session_token: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:27:5 | |
| | | |
| 27 | pub timestamp: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:28:5 | |
| | | |
| 28 | pub tool_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:29:5 | |
| | | |
| 29 | pub response_time_ms: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:30:5 | |
| | | |
| 30 | pub status_code: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:31:5 | |
| | | |
| 31 | pub error_message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:32:5 | |
| | | |
| 32 | pub request_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:33:5 | |
| | | |
| 33 | pub response_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:34:5 | |
| | | |
| 34 | pub ip_address: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:35:5 | |
| | | |
| 35 | pub user_agent: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:36:5 | |
| | | |
| 36 | pub protocol_version: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:37:5 | |
| | | |
| 37 | pub client_capabilities: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:38:5 | |
| | | |
| 38 | pub granted_scopes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:44:5 | |
| | | |
| 44 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:45:5 | |
| | | |
| 45 | pub period_start: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:46:5 | |
| | | |
| 46 | pub period_end: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:47:5 | |
| | | |
| 47 | pub total_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:48:5 | |
| | | |
| 48 | pub successful_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:49:5 | |
| | | |
| 49 | pub failed_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:50:5 | |
| | | |
| 50 | pub avg_response_time_ms: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:51:5 | |
| | | |
| 51 | pub total_request_bytes: Option<u64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/a2a.rs:52:5 | |
| | | |
| 52 | pub total_response_bytes: Option<u64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/database/analytics.rs:17:1 | |
| | | |
| 17 | pub struct RequestLog { | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:18:5 | |
| | | |
| 18 | pub id: i64, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:19:5 | |
| | | |
| 19 | pub user_id: Option<Uuid>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:20:5 | |
| | | |
| 20 | pub api_key_id: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:21:5 | |
| | | |
| 21 | pub timestamp: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:22:5 | |
| | | |
| 22 | pub method: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:23:5 | |
| | | |
| 23 | pub endpoint: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:24:5 | |
| | | |
| 24 | pub status_code: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:25:5 | |
| | | |
| 25 | pub response_time_ms: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/analytics.rs:26:5 | |
| | | |
| 26 | pub error_message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:15:9 | |
| | | |
| 15 | entity_type: &'static str, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:16:9 | |
| | | |
| 16 | entity_id: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:22:9 | |
| | | |
| 22 | entity_type: &'static str, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:23:9 | |
| | | |
| 23 | entity_id: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:24:9 | |
| | | |
| 24 | requested_tenant: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:25:9 | |
| | | |
| 25 | actual_tenant: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:30:24 | |
| | | |
| 30 | EncryptionFailed { context: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:34:24 | |
| | | |
| 34 | DecryptionFailed { context: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:38:27 | |
| | | |
| 38 | ConstraintViolation { constraint: String, details: String }, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:38:47 | |
| | | |
| 38 | ConstraintViolation { constraint: String, details: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:46:18 | |
| | | |
| 46 | QueryError { context: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:50:22 | |
| | | |
| 50 | MigrationError { version: String, details: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:50:39 | |
| | | |
| 50 | MigrationError { version: String, details: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:54:19 | |
| | | |
| 54 | InvalidData { field: String, reason: String }, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/errors.rs:54:34 | |
| | | |
| 54 | InvalidData { field: String, reason: String }, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/fitness_configurations.rs:16:5 | |
| | | |
| 16 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/fitness_configurations.rs:17:5 | |
| | | |
| 17 | pub tenant_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/fitness_configurations.rs:18:5 | |
| | | |
| 18 | pub user_id: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/fitness_configurations.rs:19:5 | |
| | | |
| 19 | pub configuration_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/fitness_configurations.rs:20:5 | |
| | | |
| 20 | pub config_data: String, // JSON serialized FitnessConfig | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/fitness_configurations.rs:21:5 | |
| | | |
| 21 | pub created_at: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/fitness_configurations.rs:22:5 | |
| | | |
| 22 | pub updated_at: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:17:5 | |
| | | |
| 17 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:18:5 | |
| | | |
| 18 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:19:5 | |
| | | |
| 19 | pub provider: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:20:5 | |
| | | |
| 20 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:21:5 | |
| | | |
| 21 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:22:5 | |
| | | |
| 22 | pub expires_at: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:23:5 | |
| | | |
| 23 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/oauth_notifications.rs:24:5 | |
| | | |
| 24 | pub read_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:16:5 | |
| | | |
| 16 | pub id: &'a str, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:17:5 | |
| | | |
| 17 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:18:5 | |
| | | |
| 18 | pub tenant_id: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:19:5 | |
| | | |
| 19 | pub provider: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:20:5 | |
| | | |
| 20 | pub access_token: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:21:5 | |
| | | |
| 21 | pub refresh_token: Option<&'a str>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:22:5 | |
| | | |
| 22 | pub token_type: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:23:5 | |
| | | |
| 23 | pub expires_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/database/user_oauth_tokens.rs:24:5 | |
| | | |
| 24 | pub scope: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/database_plugins/factory.rs:31:5 | |
| | | |
| 31 | SQLite, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/database_plugins/factory.rs:32:5 | |
| | | |
| 32 | PostgreSQL, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/database_plugins/factory.rs:38:5 | |
| | | |
| 38 | SQLite(SqliteDatabase), | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/database_plugins/factory.rs:40:5 | |
| | | |
| 40 | PostgreSQL(PostgresDatabase), | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/cache/mod.rs:181:20 | |
| | | |
| 181 | ActivityList { page: u32, per_page: u32 }, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/cache/mod.rs:181:31 | |
| | | |
| 181 | ActivityList { page: u32, per_page: u32 }, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/cache/mod.rs:183:16 | |
| | | |
| 183 | Activity { activity_id: u64 }, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/cache/mod.rs:185:13 | |
| | | |
| 185 | Stats { athlete_id: u64 }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/cache/mod.rs:187:24 | |
| | | |
| 187 | DetailedActivity { activity_id: u64 }, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/crypto/keys.rs:18:5 | |
| | | |
| 18 | pub public_key: String, // Base64 encoded | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/crypto/keys.rs:19:5 | |
| | | |
| 19 | pub private_key: String, // Base64 encoded (stored securely) | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/crypto/keys.rs:25:5 | |
| | | |
| 25 | pub public_key: String, // Base64 encoded | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/crypto/keys.rs:26:5 | |
| | | |
| 26 | pub key_type: String, // "ed25519" | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/crypto/keys.rs:27:5 | |
| | | |
| 27 | pub created_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:30:5 | |
| | | |
| 30 | pub service_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:31:5 | |
| | | |
| 31 | pub expires_days: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:32:5 | |
| | | |
| 32 | pub scopes: Option<Vec<String>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:38:5 | |
| | | |
| 38 | pub api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:39:5 | |
| | | |
| 39 | pub reason: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:45:5 | |
| | | |
| 45 | pub email: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:46:5 | |
| | | |
| 46 | pub password: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:47:5 | |
| | | |
| 47 | pub display_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:53:5 | |
| | | |
| 53 | pub database: Arc<Database>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:54:5 | |
| | | |
| 54 | pub auth_service: AdminAuthService, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:55:5 | |
| | | |
| 55 | pub auth_manager: Arc<AuthManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/admin.rs:56:5 | |
| | | |
| 56 | pub admin_jwt_secret: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/routes/admin.rs:60:5 | |
| | | |
| 60 | / pub fn new( | |
| 61 | | database: &Arc<Database>, | |
| 62 | | jwt_secret: &str, | |
| 63 | | auth_manager: &Arc<AuthManager>, | |
| 64 | | jwks_manager: &Arc<crate::admin::jwks::JwksManager>, | |
| 65 | | ) -> Self { | |
| | |_____________^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:31:5 | |
| | | |
| 31 | pub email: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:32:5 | |
| | | |
| 32 | pub password: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:33:5 | |
| | | |
| 33 | pub display_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:39:5 | |
| | | |
| 39 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:40:5 | |
| | | |
| 40 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:46:5 | |
| | | |
| 46 | pub email: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:47:5 | |
| | | |
| 47 | pub password: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:53:5 | |
| | | |
| 53 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:54:5 | |
| | | |
| 54 | pub email: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:55:5 | |
| | | |
| 55 | pub display_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:61:5 | |
| | | |
| 61 | pub jwt_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:62:5 | |
| | | |
| 62 | pub expires_at: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:63:5 | |
| | | |
| 63 | pub user: UserInfo, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:69:5 | |
| | | |
| 69 | pub token: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:70:5 | |
| | | |
| 70 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:76:5 | |
| | | |
| 76 | pub provider: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:77:5 | |
| | | |
| 77 | pub connected: bool, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:78:5 | |
| | | |
| 78 | pub last_sync: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:84:5 | |
| | | |
| 84 | pub needs_setup: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:85:5 | |
| | | |
| 85 | pub admin_user_exists: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:86:5 | |
| | | |
| 86 | pub message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:92:5 | |
| | | |
| 92 | pub authorization_url: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:93:5 | |
| | | |
| 93 | pub state: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:94:5 | |
| | | |
| 94 | pub instructions: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:95:5 | |
| | | |
| 95 | pub expires_in_minutes: i64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:101:5 | |
| | | |
| 101 | pub provider: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:102:5 | |
| | | |
| 102 | pub connected: bool, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:103:5 | |
| | | |
| 103 | pub expires_at: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:104:5 | |
| | | |
| 104 | pub scopes: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/routes/auth.rs:116:5 | |
| | | |
| 116 | pub const fn new(auth_context: AuthContext, data_context: DataContext) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/routes/auth.rs:330:5 | |
| | | |
| 330 | / pub const fn new( | |
| 331 | | data_context: DataContext, | |
| 332 | | config_context: ConfigContext, | |
| 333 | | notification_context: NotificationContext, | |
| 334 | | ) -> Self { | |
| | |_____________^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:821:5 | |
| | | |
| 821 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:822:5 | |
| | | |
| 822 | pub provider: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:823:5 | |
| | | |
| 823 | pub expires_at: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/routes/auth.rs:824:5 | |
| | | |
| 824 | pub scopes: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/tenant_routes.rs:220:1 | |
| | | |
| 220 | pub struct OAuthTokenResponse { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tenant_routes.rs:221:5 | |
| | | |
| 221 | pub access_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tenant_routes.rs:222:5 | |
| | | |
| 222 | pub token_type: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tenant_routes.rs:223:5 | |
| | | |
| 223 | pub expires_in: u64, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tenant_routes.rs:224:5 | |
| | | |
| 224 | pub scope: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an enum | |
| --> src/logging.rs:64:1 | |
| | | |
| 64 | pub enum LogFormat { | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:12:5 | |
| | | |
| 12 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:13:5 | |
| | | |
| 13 | pub tenant_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:14:5 | |
| | | |
| 14 | pub provider: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:15:5 | |
| | | |
| 15 | pub endpoint: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:16:5 | |
| | | |
| 16 | pub method: &'a str, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:17:5 | |
| | | |
| 17 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:18:5 | |
| | | |
| 18 | pub duration_ms: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/logging/tenant.rs:19:5 | |
| | | |
| 19 | pub status_code: Option<u16>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/middleware/rate_limiting.rs:19:5 | |
| | | |
| 19 | pub const X_RATE_LIMIT_LIMIT: &str = "X-RateLimit-Limit"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/middleware/rate_limiting.rs:20:5 | |
| | | |
| 20 | pub const X_RATE_LIMIT_REMAINING: &str = "X-RateLimit-Remaining"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/middleware/rate_limiting.rs:21:5 | |
| | | |
| 21 | pub const X_RATE_LIMIT_RESET: &str = "X-RateLimit-Reset"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/middleware/rate_limiting.rs:22:5 | |
| | | |
| 22 | pub const X_RATE_LIMIT_WINDOW: &str = "X-RateLimit-Window"; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/middleware/tracing.rs:14:5 | |
| | | |
| 14 | pub request_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/middleware/tracing.rs:15:5 | |
| | | |
| 15 | pub user_id: Option<Uuid>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/middleware/tracing.rs:16:5 | |
| | | |
| 16 | pub tenant_id: Option<Uuid>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/middleware/tracing.rs:17:5 | |
| | | |
| 17 | pub auth_method: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/health.rs:22:5 | |
| | | |
| 22 | Healthy, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/health.rs:23:5 | |
| | | |
| 23 | Degraded, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/health.rs:24:5 | |
| | | |
| 24 | Unhealthy, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/api_keys.rs:33:5 | |
| | | |
| 33 | Trial, // 1,000 requests/month, auto-expires in 14 days | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/api_keys.rs:34:5 | |
| | | |
| 34 | Starter, // 10,000 requests/month | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/api_keys.rs:35:5 | |
| | | |
| 35 | Professional, // 100,000 requests/month | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/api_keys.rs:36:5 | |
| | | |
| 36 | Enterprise, // Unlimited | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:101:5 | |
| | | |
| 101 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:102:5 | |
| | | |
| 102 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:103:5 | |
| | | |
| 103 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:104:5 | |
| | | |
| 104 | pub key_prefix: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:105:5 | |
| | | |
| 105 | pub key_hash: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:106:5 | |
| | | |
| 106 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:107:5 | |
| | | |
| 107 | pub tier: ApiKeyTier, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:108:5 | |
| | | |
| 108 | pub rate_limit_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:109:5 | |
| | | |
| 109 | pub rate_limit_window_seconds: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:110:5 | |
| | | |
| 110 | pub is_active: bool, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:111:5 | |
| | | |
| 111 | pub last_used_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:112:5 | |
| | | |
| 112 | pub expires_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:113:5 | |
| | | |
| 113 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:119:5 | |
| | | |
| 119 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:120:5 | |
| | | |
| 120 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:121:5 | |
| | | |
| 121 | pub tier: ApiKeyTier, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:122:5 | |
| | | |
| 122 | pub rate_limit_requests: Option<u32>, // 0 = unlimited | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:123:5 | |
| | | |
| 123 | pub expires_in_days: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:129:5 | |
| | | |
| 129 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:130:5 | |
| | | |
| 130 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:131:5 | |
| | | |
| 131 | pub rate_limit_requests: u32, // 0 = unlimited | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:132:5 | |
| | | |
| 132 | pub expires_in_days: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:138:5 | |
| | | |
| 138 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:139:5 | |
| | | |
| 139 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:140:5 | |
| | | |
| 140 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:141:5 | |
| | | |
| 141 | pub tier: ApiKeyTier, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:142:5 | |
| | | |
| 142 | pub key_prefix: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:143:5 | |
| | | |
| 143 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:144:5 | |
| | | |
| 144 | pub expires_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:146:5 | |
| | | |
| 146 | pub api_key: Option<String>, // Only included on creation | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:152:5 | |
| | | |
| 152 | pub id: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:153:5 | |
| | | |
| 153 | pub api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:154:5 | |
| | | |
| 154 | pub timestamp: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:155:5 | |
| | | |
| 155 | pub tool_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:156:5 | |
| | | |
| 156 | pub response_time_ms: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:157:5 | |
| | | |
| 157 | pub status_code: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:158:5 | |
| | | |
| 158 | pub error_message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:159:5 | |
| | | |
| 159 | pub request_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:160:5 | |
| | | |
| 160 | pub response_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:161:5 | |
| | | |
| 161 | pub ip_address: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:162:5 | |
| | | |
| 162 | pub user_agent: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:168:5 | |
| | | |
| 168 | pub api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:169:5 | |
| | | |
| 169 | pub period_start: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:170:5 | |
| | | |
| 170 | pub period_end: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:171:5 | |
| | | |
| 171 | pub total_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:172:5 | |
| | | |
| 172 | pub successful_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:173:5 | |
| | | |
| 173 | pub failed_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:174:5 | |
| | | |
| 174 | pub total_response_time_ms: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:175:5 | |
| | | |
| 175 | pub tool_usage: serde_json::Value, // JSON object with tool counts | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:181:5 | |
| | | |
| 181 | pub is_rate_limited: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:182:5 | |
| | | |
| 182 | pub limit: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:183:5 | |
| | | |
| 183 | pub remaining: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:184:5 | |
| | | |
| 184 | pub reset_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:190:5 | |
| | | |
| 190 | pub full_key: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:191:5 | |
| | | |
| 191 | pub key_prefix: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/api_keys.rs:192:5 | |
| | | |
| 192 | pub key_hash: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct | |
| --> src/dashboard_routes.rs:125:1 | |
| | | |
| 125 | pub struct RequestLog { | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:126:5 | |
| | | |
| 126 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:127:5 | |
| | | |
| 127 | pub timestamp: chrono::DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:128:5 | |
| | | |
| 128 | pub api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:129:5 | |
| | | |
| 129 | pub api_key_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:130:5 | |
| | | |
| 130 | pub tool_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:131:5 | |
| | | |
| 131 | pub status_code: i32, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:132:5 | |
| | | |
| 132 | pub response_time_ms: Option<i32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:133:5 | |
| | | |
| 133 | pub error_message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:134:5 | |
| | | |
| 134 | pub request_size_bytes: Option<i32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:135:5 | |
| | | |
| 135 | pub response_size_bytes: Option<i32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:141:5 | |
| | | |
| 141 | pub total_requests: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:142:5 | |
| | | |
| 142 | pub successful_requests: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:143:5 | |
| | | |
| 143 | pub failed_requests: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:144:5 | |
| | | |
| 144 | pub average_response_time: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:145:5 | |
| | | |
| 145 | pub min_response_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:146:5 | |
| | | |
| 146 | pub max_response_time: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:147:5 | |
| | | |
| 147 | pub requests_per_minute: f64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/dashboard_routes.rs:148:5 | |
| | | |
| 148 | pub error_rate: f64, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/websocket.rs:36:5 | |
| | | |
| 36 | Authentication { token: String }, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:36:22 | |
| | | |
| 36 | Authentication { token: String }, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/websocket.rs:38:5 | |
| | | |
| 38 | Subscribe { topics: Vec<String> }, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:38:17 | |
| | | |
| 38 | Subscribe { topics: Vec<String> }, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/websocket.rs:40:5 | |
| | | |
| 40 | UsageUpdate { | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:41:9 | |
| | | |
| 41 | api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:42:9 | |
| | | |
| 42 | requests_today: u64, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:43:9 | |
| | | |
| 43 | requests_this_month: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:44:9 | |
| | | |
| 44 | rate_limit_status: Value, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/websocket.rs:47:5 | |
| | | |
| 47 | SystemStats { | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:48:9 | |
| | | |
| 48 | total_requests_today: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:49:9 | |
| | | |
| 49 | total_requests_this_month: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:50:9 | |
| | | |
| 50 | active_connections: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/websocket.rs:53:5 | |
| | | |
| 53 | Error { message: String }, | |
| | ^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:53:13 | |
| | | |
| 53 | Error { message: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/websocket.rs:55:5 | |
| | | |
| 55 | Success { message: String }, | |
| | ^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/websocket.rs:55:15 | |
| | | |
| 55 | Success { message: String }, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/mod.rs:511:5 | |
| | | |
| 511 | pub cached_tenant_keys: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/mod.rs:512:5 | |
| | | |
| 512 | pub master_key_algorithm: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/mod.rs:513:5 | |
| | | |
| 513 | pub key_derivation_algorithm: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:26:5 | |
| | | |
| 26 | UserLogin, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:27:5 | |
| | | |
| 27 | UserLogout, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:28:5 | |
| | | |
| 28 | AuthenticationFailed, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:29:5 | |
| | | |
| 29 | ApiKeyUsed, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:32:5 | |
| | | |
| 32 | OAuthCredentialsAccessed, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:33:5 | |
| | | |
| 33 | OAuthCredentialsModified, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:34:5 | |
| | | |
| 34 | OAuthCredentialsCreated, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:35:5 | |
| | | |
| 35 | OAuthCredentialsDeleted, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:36:5 | |
| | | |
| 36 | TokenRefreshed, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:39:5 | |
| | | |
| 39 | TenantCreated, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:40:5 | |
| | | |
| 40 | TenantModified, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:41:5 | |
| | | |
| 41 | TenantDeleted, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:42:5 | |
| | | |
| 42 | TenantUserAdded, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:43:5 | |
| | | |
| 43 | TenantUserRemoved, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:44:5 | |
| | | |
| 44 | TenantUserRoleChanged, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:47:5 | |
| | | |
| 47 | DataEncrypted, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:48:5 | |
| | | |
| 48 | DataDecrypted, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:49:5 | |
| | | |
| 49 | KeyRotated, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:50:5 | |
| | | |
| 50 | EncryptionFailed, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:53:5 | |
| | | |
| 53 | ToolExecuted, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:54:5 | |
| | | |
| 54 | ToolExecutionFailed, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:55:5 | |
| | | |
| 55 | ProviderApiCalled, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:58:5 | |
| | | |
| 58 | ConfigurationChanged, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:59:5 | |
| | | |
| 59 | SystemMaintenance, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:60:5 | |
| | | |
| 60 | SecurityPolicyViolation, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:67:5 | |
| | | |
| 67 | Info, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:68:5 | |
| | | |
| 68 | Warning, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:69:5 | |
| | | |
| 69 | Error, | |
| | ^^^^^ | |
| error: missing documentation for a variant | |
| --> src/security/audit.rs:70:5 | |
| | | |
| 70 | Critical, | |
| | ^^^^^^^^ | |
| error: missing documentation for a macro | |
| --> src/security/audit.rs:555:1 | |
| | | |
| 555 | macro_rules! audit_tool_execution { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:74:9 | |
| | | |
| 74 | scheduled_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:78:9 | |
| | | |
| 78 | started_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:82:9 | |
| | | |
| 82 | completed_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:86:9 | |
| | | |
| 86 | failed_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:87:9 | |
| | | |
| 87 | error: String, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:540:5 | |
| | | |
| 540 | pub total_tenants: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:541:5 | |
| | | |
| 541 | pub active_rotations: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:542:5 | |
| | | |
| 542 | pub failed_rotations: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:543:5 | |
| | | |
| 543 | pub auto_rotation_enabled: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/security/key_rotation.rs:544:5 | |
| | | |
| 544 | pub rotation_interval_days: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/auth.rs:268:9 | |
| | | |
| 268 | InvalidAuthHeader, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/auth.rs:270:9 | |
| | | |
| 270 | AuthenticationFailed(String), | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/jwt.rs:193:5 | |
| | | |
| 193 | pub service_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/jwt.rs:194:5 | |
| | | |
| 194 | pub service_description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/jwt.rs:195:5 | |
| | | |
| 195 | pub permissions: Option<AdminPermissions>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/jwt.rs:196:5 | |
| | | |
| 196 | pub expires_in_days: Option<u64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/jwt.rs:197:5 | |
| | | |
| 197 | pub is_super_admin: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:194:5 | |
| | | |
| 194 | pub service_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:195:5 | |
| | | |
| 195 | pub service_description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:196:5 | |
| | | |
| 196 | pub permissions: Option<Vec<AdminPermission>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:197:5 | |
| | | |
| 197 | pub expires_in_days: Option<u64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:198:5 | |
| | | |
| 198 | pub is_super_admin: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:230:5 | |
| | | |
| 230 | pub token_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:231:5 | |
| | | |
| 231 | pub service_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:232:5 | |
| | | |
| 232 | pub jwt_token: String, // Only shown once! | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:233:5 | |
| | | |
| 233 | pub token_prefix: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:234:5 | |
| | | |
| 234 | pub permissions: AdminPermissions, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:235:5 | |
| | | |
| 235 | pub is_super_admin: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:236:5 | |
| | | |
| 236 | pub expires_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:237:5 | |
| | | |
| 237 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:243:5 | |
| | | |
| 243 | pub id: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:244:5 | |
| | | |
| 244 | pub admin_token_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:245:5 | |
| | | |
| 245 | pub timestamp: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:246:5 | |
| | | |
| 246 | pub action: AdminAction, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:247:5 | |
| | | |
| 247 | pub target_resource: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:248:5 | |
| | | |
| 248 | pub ip_address: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:249:5 | |
| | | |
| 249 | pub user_agent: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:250:5 | |
| | | |
| 250 | pub request_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:251:5 | |
| | | |
| 251 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:252:5 | |
| | | |
| 252 | pub error_message: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:253:5 | |
| | | |
| 253 | pub response_time_ms: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:260:5 | |
| | | |
| 260 | ProvisionKey, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:261:5 | |
| | | |
| 261 | RevokeKey, | |
| | ^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:262:5 | |
| | | |
| 262 | ListKeys, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:263:5 | |
| | | |
| 263 | UpdateKeyLimits, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:264:5 | |
| | | |
| 264 | ListAdminTokens, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:265:5 | |
| | | |
| 265 | RevokeAdminToken, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:266:5 | |
| | | |
| 266 | ViewAuditLogs, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:267:5 | |
| | | |
| 267 | ManageUser, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:306:5 | |
| | | |
| 306 | pub user_email: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:307:5 | |
| | | |
| 307 | pub user_id: Option<Uuid>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:308:5 | |
| | | |
| 308 | pub tier: String, // "starter", "professional", "enterprise" | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:309:5 | |
| | | |
| 309 | pub rate_limit_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:310:5 | |
| | | |
| 310 | pub rate_limit_period: RateLimitPeriod, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:311:5 | |
| | | |
| 311 | pub expires_in_days: Option<u64>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:312:5 | |
| | | |
| 312 | pub metadata: Option<serde_json::Value>, // Company name, use case, etc. | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:319:5 | |
| | | |
| 319 | Hour, | |
| | ^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:320:5 | |
| | | |
| 320 | Day, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/admin/models.rs:321:5 | |
| | | |
| 321 | Month, | |
| | ^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:349:5 | |
| | | |
| 349 | pub api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:350:5 | |
| | | |
| 350 | pub api_key: String, // Only shown once! | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:351:5 | |
| | | |
| 351 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:352:5 | |
| | | |
| 352 | pub user_email: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:353:5 | |
| | | |
| 353 | pub tier: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:354:5 | |
| | | |
| 354 | pub rate_limit_requests: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:355:5 | |
| | | |
| 355 | pub rate_limit_period: RateLimitPeriod, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:356:5 | |
| | | |
| 356 | pub expires_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:357:5 | |
| | | |
| 357 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:363:5 | |
| | | |
| 363 | pub token_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:364:5 | |
| | | |
| 364 | pub service_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:365:5 | |
| | | |
| 365 | pub permissions: AdminPermissions, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:366:5 | |
| | | |
| 366 | pub is_super_admin: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin/models.rs:367:5 | |
| | | |
| 367 | pub user_info: Option<serde_json::Value>, // JWT claims | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:45:5 | |
| | | |
| 45 | pub database: Arc<Database>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:46:5 | |
| | | |
| 46 | pub auth_service: AdminAuthService, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:47:5 | |
| | | |
| 47 | pub auth_manager: Arc<AuthManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:48:5 | |
| | | |
| 48 | pub admin_jwt_secret: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:49:5 | |
| | | |
| 49 | pub jwks_manager: Arc<crate::admin::jwks::JwksManager>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/admin_routes.rs:53:5 | |
| | | |
| 53 | / pub fn new( | |
| 54 | | database: Arc<Database>, | |
| 55 | | jwt_secret: &str, | |
| 56 | | auth_manager: Arc<AuthManager>, | |
| 57 | | jwks_manager: Arc<crate::admin::jwks::JwksManager>, | |
| 58 | | ) -> Self { | |
| | |_____________^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:77:5 | |
| | | |
| 77 | pub user_email: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:78:5 | |
| | | |
| 78 | pub tier: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:79:5 | |
| | | |
| 79 | pub description: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:80:5 | |
| | | |
| 80 | pub expires_in_days: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:81:5 | |
| | | |
| 81 | pub rate_limit_requests: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:82:5 | |
| | | |
| 82 | pub rate_limit_period: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:88:5 | |
| | | |
| 88 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:89:5 | |
| | | |
| 89 | pub api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:90:5 | |
| | | |
| 90 | pub api_key: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:91:5 | |
| | | |
| 91 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:92:5 | |
| | | |
| 92 | pub tier: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:93:5 | |
| | | |
| 93 | pub expires_at: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:94:5 | |
| | | |
| 94 | pub rate_limit: Option<RateLimitInfo>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:100:5 | |
| | | |
| 100 | pub requests: u32, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:101:5 | |
| | | |
| 101 | pub period: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:107:5 | |
| | | |
| 107 | pub api_key_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:108:5 | |
| | | |
| 108 | pub reason: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:114:5 | |
| | | |
| 114 | pub email: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:115:5 | |
| | | |
| 115 | pub password: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:116:5 | |
| | | |
| 116 | pub display_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:122:5 | |
| | | |
| 122 | pub user_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:123:5 | |
| | | |
| 123 | pub admin_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:124:5 | |
| | | |
| 124 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:130:5 | |
| | | |
| 130 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:131:5 | |
| | | |
| 131 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:132:5 | |
| | | |
| 132 | pub data: Option<serde_json::Value>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:138:5 | |
| | | |
| 138 | pub token_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:139:5 | |
| | | |
| 139 | pub service_name: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:140:5 | |
| | | |
| 140 | pub permissions: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:141:5 | |
| | | |
| 141 | pub is_super_admin: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:142:5 | |
| | | |
| 142 | pub created_at: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:143:5 | |
| | | |
| 143 | pub last_used_at: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:144:5 | |
| | | |
| 144 | pub usage_count: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:150:5 | |
| | | |
| 150 | pub reason: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:162:5 | |
| | | |
| 162 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:163:5 | |
| | | |
| 163 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:164:5 | |
| | | |
| 164 | pub user: Option<UserInfo>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:165:5 | |
| | | |
| 165 | pub tenant_created: Option<TenantCreatedInfo>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:171:5 | |
| | | |
| 171 | pub tenant_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:172:5 | |
| | | |
| 172 | pub name: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:173:5 | |
| | | |
| 173 | pub slug: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:174:5 | |
| | | |
| 174 | pub plan: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:180:5 | |
| | | |
| 180 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:181:5 | |
| | | |
| 181 | pub email: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:182:5 | |
| | | |
| 182 | pub display_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:183:5 | |
| | | |
| 183 | pub user_status: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:184:5 | |
| | | |
| 184 | pub tier: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:185:5 | |
| | | |
| 185 | pub created_at: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:186:5 | |
| | | |
| 186 | pub last_active: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:187:5 | |
| | | |
| 187 | pub approved_by: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:188:5 | |
| | | |
| 188 | pub approved_at: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:194:5 | |
| | | |
| 194 | pub success: bool, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:195:5 | |
| | | |
| 195 | pub users: Vec<UserInfo>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/admin_routes.rs:196:5 | |
| | | |
| 196 | pub count: usize, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin_routes.rs:1119:5 | |
| | | |
| 1119 | InvalidAuthHeader, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin_routes.rs:1121:5 | |
| | | |
| 1121 | AuthenticationFailed(String), | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin_routes.rs:1123:5 | |
| | | |
| 1123 | DatabaseError(String), | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/admin_routes.rs:1125:5 | |
| | | |
| 1125 | InvalidRequest(String), | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:34:5 | |
| | | |
| 34 | UnsupportedProtocol(String), | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:37:5 | |
| | | |
| 37 | ToolNotFound(String), | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:40:5 | |
| | | |
| 40 | InvalidParameters(String), | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:43:5 | |
| | | |
| 43 | ConfigurationError(String), | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:46:5 | |
| | | |
| 46 | ExecutionFailed(String), | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:49:5 | |
| | | |
| 49 | ConversionFailed(String), | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:52:5 | |
| | | |
| 52 | SerializationError(String), | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:55:5 | |
| | | |
| 55 | DatabaseError(String), | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:58:5 | |
| | | |
| 58 | PluginNotFound(String), | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:61:5 | |
| | | |
| 61 | PluginError(String), | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:64:5 | |
| | | |
| 64 | InvalidSchema(String), | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:67:5 | |
| | | |
| 67 | InsufficientSubscription(String), | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:70:5 | |
| | | |
| 70 | RateLimitExceeded(String), | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:73:5 | |
| | | |
| 73 | InvalidRequest(String), | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/mod.rs:76:5 | |
| | | |
| 76 | InternalError(String), | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/converter.rs:19:5 | |
| | | |
| 19 | MCP, | |
| | ^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/converter.rs:20:5 | |
| | | |
| 20 | A2A, | |
| | ^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/auth_service.rs:19:5 | |
| | | |
| 19 | pub access_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/auth_service.rs:20:5 | |
| | | |
| 20 | pub refresh_token: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/auth_service.rs:21:5 | |
| | | |
| 21 | pub expires_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/auth_service.rs:22:5 | |
| | | |
| 22 | pub scopes: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/auth_service.rs:23:5 | |
| | | |
| 23 | pub provider: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/auth_service.rs:30:5 | |
| | | |
| 30 | TokenExchangeFailed(String), | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/auth_service.rs:33:5 | |
| | | |
| 33 | TokenRefreshFailed(String), | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/auth_service.rs:36:5 | |
| | | |
| 36 | DatabaseError(String), | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/protocols/universal/executor.rs:36:5 | |
| | | |
| 36 | pub const fn new(resources: Arc<ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/executor.rs:123:5 | |
| | | |
| 123 | pub auth_service: AuthService, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/executor.rs:124:5 | |
| | | |
| 124 | pub intelligence_service: IntelligenceService, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/protocols/universal/executor.rs:125:5 | |
| | | |
| 125 | pub resources: Arc<ServerResources>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a function | |
| --> src/protocols/universal/handlers/configuration.rs:160:1 | |
| | | |
| 160 | / pub fn handle_get_user_configuration( | |
| 161 | | executor: &crate::protocols::universal::UniversalToolExecutor, | |
| 162 | | request: UniversalRequest, | |
| 163 | | ) -> Pin<Box<dyn Future<Output = Result<UniversalResponse, ProtocolError>> + Send + '_>> { | |
| | |________________________________________________________________________________________^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:17:5 | |
| | | |
| 17 | GetActivities, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:18:5 | |
| | | |
| 18 | GetAthlete, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:19:5 | |
| | | |
| 19 | GetStats, | |
| | ^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:20:5 | |
| | | |
| 20 | AnalyzeActivity, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:21:5 | |
| | | |
| 21 | GetActivityIntelligence, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:22:5 | |
| | | |
| 22 | GetConnectionStatus, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:23:5 | |
| | | |
| 23 | ConnectProvider, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:24:5 | |
| | | |
| 24 | DisconnectProvider, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:27:5 | |
| | | |
| 27 | SetGoal, | |
| | ^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:28:5 | |
| | | |
| 28 | SuggestGoals, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:29:5 | |
| | | |
| 29 | AnalyzeGoalFeasibility, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:30:5 | |
| | | |
| 30 | TrackProgress, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:33:5 | |
| | | |
| 33 | CalculateMetrics, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:34:5 | |
| | | |
| 34 | AnalyzePerformanceTrends, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:35:5 | |
| | | |
| 35 | CompareActivities, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:36:5 | |
| | | |
| 36 | DetectPatterns, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:37:5 | |
| | | |
| 37 | GenerateRecommendations, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:38:5 | |
| | | |
| 38 | CalculateFitnessScore, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:39:5 | |
| | | |
| 39 | PredictPerformance, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:40:5 | |
| | | |
| 40 | AnalyzeTrainingLoad, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:43:5 | |
| | | |
| 43 | GetConfigurationCatalog, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:44:5 | |
| | | |
| 44 | GetConfigurationProfiles, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:45:5 | |
| | | |
| 45 | GetUserConfiguration, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:46:5 | |
| | | |
| 46 | UpdateUserConfiguration, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:47:5 | |
| | | |
| 47 | CalculatePersonalizedZones, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:48:5 | |
| | | |
| 48 | ValidateConfiguration, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:51:5 | |
| | | |
| 51 | AnalyzeSleepQuality, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:52:5 | |
| | | |
| 52 | CalculateRecoveryScore, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:53:5 | |
| | | |
| 53 | SuggestRestDay, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:54:5 | |
| | | |
| 54 | TrackSleepTrends, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:55:5 | |
| | | |
| 55 | OptimizeSleepSchedule, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:58:5 | |
| | | |
| 58 | CalculateDailyNutrition, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:59:5 | |
| | | |
| 59 | GetNutrientTiming, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:60:5 | |
| | | |
| 60 | SearchFood, | |
| | ^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:61:5 | |
| | | |
| 61 | GetFoodDetails, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/protocols/universal/tool_registry.rs:62:5 | |
| | | |
| 62 | AnalyzeMealNutrition, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:24:5 | |
| | | |
| 24 | pub id: Option<i64>, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:25:5 | |
| | | |
| 25 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:26:5 | |
| | | |
| 26 | pub timestamp: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:27:5 | |
| | | |
| 27 | pub endpoint: String, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:28:5 | |
| | | |
| 28 | pub method: String, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:29:5 | |
| | | |
| 29 | pub status_code: u16, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:30:5 | |
| | | |
| 30 | pub response_time_ms: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:31:5 | |
| | | |
| 31 | pub request_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:32:5 | |
| | | |
| 32 | pub response_size_bytes: Option<u32>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:33:5 | |
| | | |
| 33 | pub ip_address: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/rate_limiting.rs:34:5 | |
| | | |
| 34 | pub user_agent: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/rate_limiting.rs:69:1 | |
| | | |
| 69 | pub const TENANT_STARTER_LIMIT: u32 = 10_000; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a constant | |
| --> src/rate_limiting.rs:70:1 | |
| | | |
| 70 | pub const TENANT_PROFESSIONAL_LIMIT: u32 = 100_000; | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:22:5 | |
| | | |
| 22 | AuthRequired, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:23:5 | |
| | | |
| 23 | AuthInvalid, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:24:5 | |
| | | |
| 24 | AuthExpired, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:25:5 | |
| | | |
| 25 | AuthMalformed, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:26:5 | |
| | | |
| 26 | PermissionDenied, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:29:5 | |
| | | |
| 29 | RateLimitExceeded, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:30:5 | |
| | | |
| 30 | QuotaExceeded, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:33:5 | |
| | | |
| 33 | InvalidInput, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:34:5 | |
| | | |
| 34 | MissingRequiredField, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:35:5 | |
| | | |
| 35 | InvalidFormat, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:36:5 | |
| | | |
| 36 | ValueOutOfRange, | |
| | ^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:39:5 | |
| | | |
| 39 | ResourceNotFound, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:40:5 | |
| | | |
| 40 | ResourceAlreadyExists, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:41:5 | |
| | | |
| 41 | ResourceLocked, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:42:5 | |
| | | |
| 42 | ResourceUnavailable, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:45:5 | |
| | | |
| 45 | ExternalServiceError, | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:46:5 | |
| | | |
| 46 | ExternalServiceUnavailable, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:47:5 | |
| | | |
| 47 | ExternalAuthFailed, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:48:5 | |
| | | |
| 48 | ExternalRateLimited, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:51:5 | |
| | | |
| 51 | ConfigError, | |
| | ^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:52:5 | |
| | | |
| 52 | ConfigMissing, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:53:5 | |
| | | |
| 53 | ConfigInvalid, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:56:5 | |
| | | |
| 56 | InternalError, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:57:5 | |
| | | |
| 57 | DatabaseError, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:58:5 | |
| | | |
| 58 | StorageError, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/errors.rs:59:5 | |
| | | |
| 59 | SerializationError, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/errors.rs:283:5 | |
| | | |
| 283 | pub code: ErrorCode, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/errors.rs:284:5 | |
| | | |
| 284 | pub message: String, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/errors.rs:286:5 | |
| | | |
| 286 | pub request_id: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/errors.rs:287:5 | |
| | | |
| 287 | pub timestamp: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/engine.rs:24:5 | |
| | | |
| 24 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/engine.rs:25:5 | |
| | | |
| 25 | pub email: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/engine.rs:26:5 | |
| | | |
| 26 | pub tier: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/tools/providers.rs:18:5 | |
| | | |
| 18 | Strava, | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/tools/providers.rs:19:5 | |
| | | |
| 19 | Fitbit, | |
| | ^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:50:9 | |
| | | |
| 50 | expires_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:51:9 | |
| | | |
| 51 | scopes: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:55:9 | |
| | | |
| 55 | expired_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:61:9 | |
| | | |
| 61 | error: String, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:62:9 | |
| | | |
| 62 | last_attempt: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:69:5 | |
| | | |
| 69 | pub provider_type: ProviderType, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:70:5 | |
| | | |
| 70 | pub status: ConnectionStatus, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:71:5 | |
| | | |
| 71 | pub last_sync: Option<chrono::DateTime<chrono::Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/tools/providers.rs:72:5 | |
| | | |
| 72 | pub data_available: bool, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:71:5 | |
| | | |
| 71 | pub user_id: uuid::Uuid, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:72:5 | |
| | | |
| 72 | pub tenant_id: Option<uuid::Uuid>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:78:5 | |
| | | |
| 78 | pub response: Result<UniversalResponse, ProtocolError>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:79:5 | |
| | | |
| 79 | pub credits_consumed: u32, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:80:5 | |
| | | |
| 80 | pub execution_time_ms: u64, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:85:5 | |
| | | |
| 85 | pub database: &'a crate::database_plugins::factory::Database, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:86:5 | |
| | | |
| 86 | pub provider_registry: &'a crate::providers::registry::ProviderRegistry, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/mod.rs:87:5 | |
| | | |
| 87 | pub context: &'a PluginContext, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/plugins/executor.rs:195:5 | |
| | | |
| 195 | Plugin(crate::plugins::core::PluginInfo), | |
| | ^^^^^^ | |
| error: missing documentation for a variant | |
| --> src/plugins/executor.rs:196:5 | |
| | | |
| 196 | Core { name: String, description: String }, | |
| | ^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/executor.rs:196:12 | |
| | | |
| 196 | Core { name: String, description: String }, | |
| | ^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/executor.rs:196:26 | |
| | | |
| 196 | Core { name: String, description: String }, | |
| | ^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/executor.rs:228:5 | |
| | | |
| 228 | pub total_tools: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/executor.rs:229:5 | |
| | | |
| 229 | pub core_tools: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/executor.rs:230:5 | |
| | | |
| 230 | pub plugin_tools: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/executor.rs:231:5 | |
| | | |
| 231 | pub plugin_stats: crate::plugins::registry::PluginRegistryStatistics, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:197:5 | |
| | | |
| 197 | pub total_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:198:5 | |
| | | |
| 198 | pub data_access_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:199:5 | |
| | | |
| 199 | pub intelligence_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:200:5 | |
| | | |
| 200 | pub analytics_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:201:5 | |
| | | |
| 201 | pub goals_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:202:5 | |
| | | |
| 202 | pub provider_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:203:5 | |
| | | |
| 203 | pub environmental_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/plugins/registry.rs:204:5 | |
| | | |
| 204 | pub custom_plugins: usize, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/notifications/sse.rs:44:5 | |
| | | |
| 44 | pub fn new() -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/sse/manager.rs:22:20 | |
| | | |
| 22 | Notification { user_id: Uuid }, | |
| | ^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/sse/manager.rs:24:16 | |
| | | |
| 24 | Protocol { session_id: String }, | |
| | ^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/sse/manager.rs:30:5 | |
| | | |
| 30 | pub connection_type: ConnectionType, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/sse/manager.rs:31:5 | |
| | | |
| 31 | pub created_at: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/sse/manager.rs:32:5 | |
| | | |
| 32 | pub last_activity: chrono::DateTime<chrono::Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/sse/manager.rs:49:5 | |
| | | |
| 49 | pub fn new(buffer_size: usize) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/sse/notifications.rs:22:5 | |
| | | |
| 22 | pub fn new(buffer_size: usize) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/sse/protocol.rs:32:5 | |
| | | |
| 32 | pub fn new(resources: Arc<ServerResources>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/oauth2_server/client_registration.rs:30:5 | |
| | | |
| 30 | pub const fn new(database: Arc<crate::database_plugins::factory::Database>) -> Self { | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for an associated function | |
| --> src/oauth2_server/endpoints.rs:50:5 | |
| | | |
| 50 | / pub fn new( | |
| 51 | | database: Arc<crate::database_plugins::factory::Database>, | |
| 52 | | auth_manager: Arc<AuthManager>, | |
| 53 | | jwks_manager: Arc<JwksManager>, | |
| 54 | | ) -> Self { | |
| | |_____________^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:175:5 | |
| | | |
| 175 | pub id: String, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:176:5 | |
| | | |
| 176 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:177:5 | |
| | | |
| 177 | pub client_secret_hash: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:178:5 | |
| | | |
| 178 | pub redirect_uris: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:179:5 | |
| | | |
| 179 | pub grant_types: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:180:5 | |
| | | |
| 180 | pub response_types: Vec<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:181:5 | |
| | | |
| 181 | pub client_name: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:182:5 | |
| | | |
| 182 | pub client_uri: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:183:5 | |
| | | |
| 183 | pub scope: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:184:5 | |
| | | |
| 184 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:185:5 | |
| | | |
| 185 | pub expires_at: Option<DateTime<Utc>>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:191:5 | |
| | | |
| 191 | pub code: String, | |
| | ^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:192:5 | |
| | | |
| 192 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:193:5 | |
| | | |
| 193 | pub user_id: Uuid, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:194:5 | |
| | | |
| 194 | pub tenant_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:195:5 | |
| | | |
| 195 | pub redirect_uri: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:196:5 | |
| | | |
| 196 | pub scope: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:197:5 | |
| | | |
| 197 | pub expires_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:198:5 | |
| | | |
| 198 | pub used: bool, | |
| | ^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:210:5 | |
| | | |
| 210 | pub token: String, | |
| | ^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:211:5 | |
| | | |
| 211 | pub client_id: String, | |
| | ^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:212:5 | |
| | | |
| 212 | pub user_id: Option<Uuid>, // None for client_credentials | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:213:5 | |
| | | |
| 213 | pub scope: Option<String>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:214:5 | |
| | | |
| 214 | pub expires_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: missing documentation for a struct field | |
| --> src/oauth2_server/models.rs:215:5 | |
| | | |
| 215 | pub created_at: DateTime<Utc>, | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: could not compile `pierre_mcp_server` (lib) due to 1893 previous errors | |
| error: could not compile `pierre_mcp_server` (lib test) due to 1893 previous errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment