From a6974820ee4f6f7aedc5019b1acc475ae607c737 Mon Sep 17 00:00:00 2001 From: John Batty Date: Fri, 19 Sep 2025 09:15:20 +0100 Subject: [PATCH 1/2] Release 0.32.0. Update azure_core to 0.28. --- CHANGELOG.md | 18 +- .../create_client_and_builder.rs | 3 +- .../src/codegen_operations/response_code.rs | 2 +- azure_devops_rust_api/Cargo.toml | 8 +- azure_devops_rust_api/README.md | 2 +- azure_devops_rust_api/src/accounts/mod.rs | 5 +- .../src/approvals_and_checks/mod.rs | 31 +-- azure_devops_rust_api/src/artifacts/mod.rs | 77 +++--- .../src/artifacts_package_types/mod.rs | 129 +++++----- azure_devops_rust_api/src/audit/mod.rs | 21 +- azure_devops_rust_api/src/build/mod.rs | 185 +++++++------- azure_devops_rust_api/src/core/mod.rs | 41 ++-- azure_devops_rust_api/src/dashboard/mod.rs | 35 +-- .../src/distributed_task/mod.rs | 139 +++++------ .../src/extension_management/mod.rs | 13 +- azure_devops_rust_api/src/favorite/mod.rs | 21 +- azure_devops_rust_api/src/git/mod.rs | 225 +++++++++--------- azure_devops_rust_api/src/graph/mod.rs | 61 ++--- azure_devops_rust_api/src/hooks/mod.rs | 47 ++-- azure_devops_rust_api/src/ims/mod.rs | 5 +- .../src/member_entitlement_management/mod.rs | 45 ++-- azure_devops_rust_api/src/operations/mod.rs | 5 +- .../src/permissions_report/mod.rs | 11 +- azure_devops_rust_api/src/pipelines/mod.rs | 23 +- azure_devops_rust_api/src/policy/mod.rs | 27 ++- azure_devops_rust_api/src/processadmin/mod.rs | 13 +- azure_devops_rust_api/src/processes/mod.rs | 117 ++++----- azure_devops_rust_api/src/profile/mod.rs | 5 +- azure_devops_rust_api/src/release/mod.rs | 67 +++--- azure_devops_rust_api/src/search/mod.rs | 15 +- azure_devops_rust_api/src/security/mod.rs | 21 +- .../src/security_roles/mod.rs | 17 +- .../src/service_endpoint/mod.rs | 29 +-- azure_devops_rust_api/src/status/mod.rs | 5 +- azure_devops_rust_api/src/symbol/mod.rs | 31 +-- azure_devops_rust_api/src/telemetry.rs | 4 +- azure_devops_rust_api/src/test/mod.rs | 83 +++---- azure_devops_rust_api/src/test_plan/mod.rs | 81 +++---- azure_devops_rust_api/src/test_results/mod.rs | 185 +++++++------- azure_devops_rust_api/src/tfvc/mod.rs | 41 ++-- azure_devops_rust_api/src/token_admin/mod.rs | 9 +- azure_devops_rust_api/src/tokens/mod.rs | 13 +- azure_devops_rust_api/src/wiki/mod.rs | 33 +-- azure_devops_rust_api/src/wit/mod.rs | 175 +++++++------- azure_devops_rust_api/src/work/mod.rs | 117 ++++----- 45 files changed, 1148 insertions(+), 1092 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54051465..512fa682 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changes + +## [0.32.0] + +### Changes + +- Update `azure_core` and `azure_identity` to 0.30. +- Changes to handle API changes in `azure_core`: + - Replace `azure_core::http::RawResponse` with `azure_core::http::BufResponse` + - Add extra parameter when creating new `azure_core::http::Pipeline` + ## [0.31.0] +### Changes + - Change `AgentPoolQueue` field to be optional: - `name` - Change `ProjectReference` field to be optional: @@ -19,6 +32,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.30.1] +### Changes + - Change `ServiceEndpoint` field to be optional: - `description` - Change `AgentPoolQueue` field to be optional: @@ -624,7 +639,8 @@ breaking changes over previous versions. - Initial release. -[Unreleased]: https://github.com/microsoft/azure-devops-rust-api/compare/0.31.0...HEAD +[Unreleased]: https://github.com/microsoft/azure-devops-rust-api/compare/0.32.0...HEAD +[0.32.0]: https://github.com/microsoft/azure-devops-rust-api/compare/0.31.0...0.32.0 [0.31.0]: https://github.com/microsoft/azure-devops-rust-api/compare/0.30.1...0.31.0 [0.30.1]: https://github.com/microsoft/azure-devops-rust-api/compare/0.30.0...0.30.1 [0.30.0]: https://github.com/microsoft/azure-devops-rust-api/compare/0.29.0...0.30.0 diff --git a/autorust/codegen/src/codegen_operations/create_client_and_builder.rs b/autorust/codegen/src/codegen_operations/create_client_and_builder.rs index 5a7cf43d..e0064390 100644 --- a/autorust/codegen/src/codegen_operations/create_client_and_builder.rs +++ b/autorust/codegen/src/codegen_operations/create_client_and_builder.rs @@ -134,7 +134,7 @@ pub fn create_client(modules: &[String], endpoint: Option<&str>) -> Result Vec<&str> { self.scopes.iter().map(String::as_str).collect() } - pub(crate) async fn send(&self, request: &mut azure_core::http::Request) -> azure_core::Result { + pub(crate) async fn send(&self, request: &mut azure_core::http::Request) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -155,6 +155,7 @@ pub fn create_client(modules: &[String], endpoint: Option<&str>) -> Result azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } }; diff --git a/azure_devops_rust_api/Cargo.toml b/azure_devops_rust_api/Cargo.toml index c25996a1..f6b7bdeb 100644 --- a/azure_devops_rust_api/Cargo.toml +++ b/azure_devops_rust_api/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "azure_devops_rust_api" -version = "0.31.0" +version = "0.32.0" edition = "2021" authors = ["John Batty "] description = "Rust API library for Azure DevOps" @@ -21,7 +21,7 @@ rust-version = "1.80.0" doctest = false [dependencies] -azure_core = { version = "0.27", default-features = true } +azure_core = { version = "0.28", default-features = true } serde = { version = "1", features = ["derive"] } serde_json = "1" bytes = "1" @@ -39,7 +39,7 @@ once_cell = "1" uuid = { version = "1", features = ["serde", "v4", "js"] } [dev-dependencies] -azure_identity = "0.27" +azure_identity = "0.28" tokio = { version = "1", features = ["full"] } anyhow = "1" tracing-subscriber = "0.3" @@ -47,7 +47,7 @@ tracing-subscriber = "0.3" [features] default = ["reqwest"] reqwest = ["azure_core/reqwest"] -reqwest_rustls = ["azure_core/reqwest_rustls"] +#reqwest_rustls = ["azure_core/reqwest_rustls"] no-default-tag = [] accounts = [] approvals_and_checks = [] diff --git a/azure_devops_rust_api/README.md b/azure_devops_rust_api/README.md index 4a52244e..af922af2 100644 --- a/azure_devops_rust_api/README.md +++ b/azure_devops_rust_api/README.md @@ -67,7 +67,7 @@ Example application `Cargo.toml` dependency spec showing how to specify desired ```toml [dependencies] ... -azure_devops_rust_api = { version = "0.31.0", features = ["git", "pipelines"] } +azure_devops_rust_api = { version = "0.32.0", features = ["git", "pipelines"] } ``` ## Examples diff --git a/azure_devops_rust_api/src/accounts/mod.rs b/azure_devops_rust_api/src/accounts/mod.rs index 180bcc7f..8e920183 100644 --- a/azure_devops_rust_api/src/accounts/mod.rs +++ b/azure_devops_rust_api/src/accounts/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -165,7 +166,7 @@ pub mod accounts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/approvals_and_checks/mod.rs b/azure_devops_rust_api/src/approvals_and_checks/mod.rs index 27774e13..c018948a 100644 --- a/azure_devops_rust_api/src/approvals_and_checks/mod.rs +++ b/azure_devops_rust_api/src/approvals_and_checks/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -230,7 +231,7 @@ pub mod pipeline_permissions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -338,7 +339,7 @@ pub mod pipeline_permissions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -448,7 +449,7 @@ pub mod pipeline_permissions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -685,7 +686,7 @@ pub mod check_configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -818,7 +819,7 @@ pub mod check_configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -920,7 +921,7 @@ pub mod check_configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1032,7 +1033,7 @@ pub mod check_configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1131,7 +1132,7 @@ pub mod check_configurations { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1239,7 +1240,7 @@ pub mod check_configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1401,7 +1402,7 @@ pub mod check_evaluations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1513,7 +1514,7 @@ pub mod check_evaluations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1694,7 +1695,7 @@ pub mod approvals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1847,7 +1848,7 @@ pub mod approvals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1949,7 +1950,7 @@ pub mod approvals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/artifacts/mod.rs b/azure_devops_rust_api/src/artifacts/mod.rs index 93323a26..51ea179d 100644 --- a/azure_devops_rust_api/src/artifacts/mod.rs +++ b/azure_devops_rust_api/src/artifacts/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -207,7 +208,7 @@ pub mod service_settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -316,7 +317,7 @@ pub mod service_settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -485,7 +486,7 @@ pub mod change_tracking { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -618,7 +619,7 @@ pub mod change_tracking { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -723,7 +724,7 @@ pub mod change_tracking { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -908,7 +909,7 @@ pub mod feed_recycle_bin { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1003,7 +1004,7 @@ pub mod feed_recycle_bin { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1105,7 +1106,7 @@ pub mod feed_recycle_bin { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1474,7 +1475,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1606,7 +1607,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1706,7 +1707,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1818,7 +1819,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1917,7 +1918,7 @@ pub mod feed_management { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2022,7 +2023,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2175,7 +2176,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2279,7 +2280,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2381,7 +2382,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2485,7 +2486,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2589,7 +2590,7 @@ pub mod feed_management { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2690,7 +2691,7 @@ pub mod feed_management { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3006,7 +3007,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3110,7 +3111,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3372,7 +3373,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3547,7 +3548,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3654,7 +3655,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3791,7 +3792,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3933,7 +3934,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4038,7 +4039,7 @@ pub mod artifact_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4268,7 +4269,7 @@ pub mod recycle_bin { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4437,7 +4438,7 @@ pub mod recycle_bin { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4539,7 +4540,7 @@ pub mod recycle_bin { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4659,7 +4660,7 @@ pub mod recycle_bin { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4778,7 +4779,7 @@ pub mod recycle_bin { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4966,7 +4967,7 @@ pub mod retention_policies { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5068,7 +5069,7 @@ pub mod retention_policies { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5167,7 +5168,7 @@ pub mod retention_policies { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5304,7 +5305,7 @@ pub mod provenance { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/artifacts_package_types/mod.rs b/azure_devops_rust_api/src/artifacts_package_types/mod.rs index 551f4b0b..4c58a923 100644 --- a/azure_devops_rust_api/src/artifacts_package_types/mod.rs +++ b/azure_devops_rust_api/src/artifacts_package_types/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -468,7 +469,7 @@ pub mod maven { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -569,7 +570,7 @@ pub mod maven { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -680,7 +681,7 @@ pub mod maven { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -794,7 +795,7 @@ pub mod maven { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -902,7 +903,7 @@ pub mod maven { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1018,7 +1019,7 @@ pub mod maven { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1113,7 +1114,7 @@ pub mod maven { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1212,7 +1213,7 @@ pub mod maven { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1309,7 +1310,7 @@ pub mod maven { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1414,7 +1415,7 @@ pub mod maven { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1519,7 +1520,7 @@ pub mod maven { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2195,7 +2196,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2303,7 +2304,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2413,7 +2414,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2521,7 +2522,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2627,7 +2628,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2735,7 +2736,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2841,7 +2842,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2942,7 +2943,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3051,7 +3052,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3157,7 +3158,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3265,7 +3266,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3364,7 +3365,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3471,7 +3472,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3575,7 +3576,7 @@ pub mod npm { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3676,7 +3677,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3788,7 +3789,7 @@ pub mod npm { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3892,7 +3893,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4000,7 +4001,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4116,7 +4117,7 @@ pub mod npm { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4218,7 +4219,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4324,7 +4325,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4428,7 +4429,7 @@ pub mod npm { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4819,7 +4820,7 @@ pub mod nu_get { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4918,7 +4919,7 @@ pub mod nu_get { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5027,7 +5028,7 @@ pub mod nu_get { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5139,7 +5140,7 @@ pub mod nu_get { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5250,7 +5251,7 @@ pub mod nu_get { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5354,7 +5355,7 @@ pub mod nu_get { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5469,7 +5470,7 @@ pub mod nu_get { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5581,7 +5582,7 @@ pub mod nu_get { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5683,7 +5684,7 @@ pub mod nu_get { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5789,7 +5790,7 @@ pub mod nu_get { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5893,7 +5894,7 @@ pub mod nu_get { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6286,7 +6287,7 @@ pub mod python { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6385,7 +6386,7 @@ pub mod python { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6494,7 +6495,7 @@ pub mod python { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6606,7 +6607,7 @@ pub mod python { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6717,7 +6718,7 @@ pub mod python { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6821,7 +6822,7 @@ pub mod python { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6924,7 +6925,7 @@ pub mod python { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7036,7 +7037,7 @@ pub mod python { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7138,7 +7139,7 @@ pub mod python { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7244,7 +7245,7 @@ pub mod python { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7348,7 +7349,7 @@ pub mod python { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7665,7 +7666,7 @@ pub mod universal { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7777,7 +7778,7 @@ pub mod universal { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7888,7 +7889,7 @@ pub mod universal { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7989,7 +7990,7 @@ pub mod universal { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8101,7 +8102,7 @@ pub mod universal { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8203,7 +8204,7 @@ pub mod universal { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8309,7 +8310,7 @@ pub mod universal { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8413,7 +8414,7 @@ pub mod universal { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/audit/mod.rs b/azure_devops_rust_api/src/audit/mod.rs index 39a2412e..8408c793 100644 --- a/azure_devops_rust_api/src/audit/mod.rs +++ b/azure_devops_rust_api/src/audit/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -176,7 +177,7 @@ pub mod actions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -310,7 +311,7 @@ pub mod audit_log { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -492,7 +493,7 @@ pub mod download_log { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -729,7 +730,7 @@ pub mod streams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -827,7 +828,7 @@ pub mod streams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -932,7 +933,7 @@ pub mod streams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1032,7 +1033,7 @@ pub mod streams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1132,7 +1133,7 @@ pub mod streams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1232,7 +1233,7 @@ pub mod streams { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/build/mod.rs b/azure_devops_rust_api/src/build/mod.rs index 36b39dda..0ac185c3 100644 --- a/azure_devops_rust_api/src/build/mod.rs +++ b/azure_devops_rust_api/src/build/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -325,7 +326,7 @@ pub mod artifacts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -431,7 +432,7 @@ pub mod artifacts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -542,7 +543,7 @@ pub mod artifacts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -644,7 +645,7 @@ pub mod artifacts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -893,7 +894,7 @@ pub mod leases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1021,7 +1022,7 @@ pub mod leases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1153,7 +1154,7 @@ pub mod leases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1258,7 +1259,7 @@ pub mod leases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1355,7 +1356,7 @@ pub mod leases { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1461,7 +1462,7 @@ pub mod leases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1563,7 +1564,7 @@ pub mod leases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1703,7 +1704,7 @@ pub mod controllers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1809,7 +1810,7 @@ pub mod controllers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1929,7 +1930,7 @@ pub mod resource_usage { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2048,7 +2049,7 @@ pub mod history { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2205,7 +2206,7 @@ pub mod badge { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2316,7 +2317,7 @@ pub mod badge { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2487,7 +2488,7 @@ pub mod authorizedresources { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2609,7 +2610,7 @@ pub mod authorizedresources { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3028,7 +3029,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3351,7 +3352,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3494,7 +3495,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3596,7 +3597,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3708,7 +3709,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3817,7 +3818,7 @@ pub mod builds { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3922,7 +3923,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4056,7 +4057,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4158,7 +4159,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4258,7 +4259,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4384,7 +4385,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4497,7 +4498,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4612,7 +4613,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4745,7 +4746,7 @@ pub mod builds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4927,7 +4928,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5037,7 +5038,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5235,7 +5236,7 @@ pub mod properties { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5348,7 +5349,7 @@ pub mod properties { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5452,7 +5453,7 @@ pub mod properties { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5565,7 +5566,7 @@ pub mod properties { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5699,7 +5700,7 @@ pub mod report { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5836,7 +5837,7 @@ pub mod stages { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6203,7 +6204,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6303,7 +6304,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6405,7 +6406,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6507,7 +6508,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6609,7 +6610,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6711,7 +6712,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6822,7 +6823,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6924,7 +6925,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7026,7 +7027,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7128,7 +7129,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7230,7 +7231,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7328,7 +7329,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7462,7 +7463,7 @@ pub mod timeline { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7761,7 +7762,7 @@ pub mod definitions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8048,7 +8049,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8177,7 +8178,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8328,7 +8329,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8464,7 +8465,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8566,7 +8567,7 @@ pub mod definitions { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8676,7 +8677,7 @@ pub mod definitions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8829,7 +8830,7 @@ pub mod metrics { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8947,7 +8948,7 @@ pub mod metrics { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9114,7 +9115,7 @@ pub mod resources { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9222,7 +9223,7 @@ pub mod resources { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9360,7 +9361,7 @@ pub mod yaml { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9602,7 +9603,7 @@ pub mod templates { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9706,7 +9707,7 @@ pub mod templates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9812,7 +9813,7 @@ pub mod templates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9912,7 +9913,7 @@ pub mod templates { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10110,7 +10111,7 @@ pub mod folders { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10215,7 +10216,7 @@ pub mod folders { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10315,7 +10316,7 @@ pub mod folders { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10421,7 +10422,7 @@ pub mod folders { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10581,7 +10582,7 @@ pub mod general_settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10685,7 +10686,7 @@ pub mod general_settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10818,7 +10819,7 @@ pub mod latest { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10960,7 +10961,7 @@ pub mod options { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11108,7 +11109,7 @@ pub mod retention { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11212,7 +11213,7 @@ pub mod retention { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11360,7 +11361,7 @@ pub mod settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11460,7 +11461,7 @@ pub mod settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11594,7 +11595,7 @@ pub mod status { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11941,7 +11942,7 @@ pub mod source_providers { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12040,7 +12041,7 @@ pub mod source_providers { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12173,7 +12174,7 @@ pub mod source_providers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12320,7 +12321,7 @@ pub mod source_providers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12465,7 +12466,7 @@ pub mod source_providers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12591,7 +12592,7 @@ pub mod source_providers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12748,7 +12749,7 @@ pub mod source_providers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12867,7 +12868,7 @@ pub mod source_providers { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/core/mod.rs b/azure_devops_rust_api/src/core/mod.rs index 4d363219..9fe42a8c 100644 --- a/azure_devops_rust_api/src/core/mod.rs +++ b/azure_devops_rust_api/src/core/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -194,7 +195,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -292,7 +293,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -524,7 +525,7 @@ pub mod projects { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -676,7 +677,7 @@ pub mod projects { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -776,7 +777,7 @@ pub mod projects { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -899,7 +900,7 @@ pub mod projects { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1001,7 +1002,7 @@ pub mod projects { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1101,7 +1102,7 @@ pub mod projects { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1205,7 +1206,7 @@ pub mod projects { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1350,7 +1351,7 @@ pub mod avatar { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1450,7 +1451,7 @@ pub mod avatar { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1585,7 +1586,7 @@ pub mod categorized_teams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1865,7 +1866,7 @@ pub mod teams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2009,7 +2010,7 @@ pub mod teams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2111,7 +2112,7 @@ pub mod teams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2224,7 +2225,7 @@ pub mod teams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2323,7 +2324,7 @@ pub mod teams { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2428,7 +2429,7 @@ pub mod teams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2550,7 +2551,7 @@ pub mod teams { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/dashboard/mod.rs b/azure_devops_rust_api/src/dashboard/mod.rs index 1d563c28..7d4c5c46 100644 --- a/azure_devops_rust_api/src/dashboard/mod.rs +++ b/azure_devops_rust_api/src/dashboard/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -199,7 +200,7 @@ pub mod widget_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -305,7 +306,7 @@ pub mod widget_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -548,7 +549,7 @@ pub mod dashboards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -650,7 +651,7 @@ pub mod dashboards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -754,7 +755,7 @@ pub mod dashboards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -858,7 +859,7 @@ pub mod dashboards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -962,7 +963,7 @@ pub mod dashboards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1063,7 +1064,7 @@ pub mod dashboards { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1386,7 +1387,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1509,7 +1510,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1615,7 +1616,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1740,7 +1741,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1865,7 +1866,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1971,7 +1972,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2079,7 +2080,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2187,7 +2188,7 @@ pub mod widgets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/distributed_task/mod.rs b/azure_devops_rust_api/src/distributed_task/mod.rs index 1ff451c0..e67db86e 100644 --- a/azure_devops_rust_api/src/distributed_task/mod.rs +++ b/azure_devops_rust_api/src/distributed_task/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -236,7 +237,7 @@ pub mod events { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -379,7 +380,7 @@ pub mod oidctoken { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -563,7 +564,7 @@ pub mod logs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -669,7 +670,7 @@ pub mod logs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -815,7 +816,7 @@ pub mod records { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1032,7 +1033,7 @@ pub mod pools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1174,7 +1175,7 @@ pub mod pools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1288,7 +1289,7 @@ pub mod pools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1388,7 +1389,7 @@ pub mod pools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1510,7 +1511,7 @@ pub mod pools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1607,7 +1608,7 @@ pub mod pools { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1857,7 +1858,7 @@ pub mod queues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1974,7 +1975,7 @@ pub mod queues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2091,7 +2092,7 @@ pub mod queues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2213,7 +2214,7 @@ pub mod queues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2329,7 +2330,7 @@ pub mod queues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2443,7 +2444,7 @@ pub mod queues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2551,7 +2552,7 @@ pub mod queues { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2793,7 +2794,7 @@ pub mod variablegroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2948,7 +2949,7 @@ pub mod variablegroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3043,7 +3044,7 @@ pub mod variablegroups { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3151,7 +3152,7 @@ pub mod variablegroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3248,7 +3249,7 @@ pub mod variablegroups { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3356,7 +3357,7 @@ pub mod variablegroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3461,7 +3462,7 @@ pub mod variablegroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3635,7 +3636,7 @@ pub mod agentclouds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3733,7 +3734,7 @@ pub mod agentclouds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3833,7 +3834,7 @@ pub mod agentclouds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3933,7 +3934,7 @@ pub mod agentclouds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4035,7 +4036,7 @@ pub mod agentclouds { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4161,7 +4162,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4285,7 +4286,7 @@ pub mod agentcloudtypes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4517,7 +4518,7 @@ pub mod agents { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4691,7 +4692,7 @@ pub mod agents { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4793,7 +4794,7 @@ pub mod agents { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4947,7 +4948,7 @@ pub mod agents { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5051,7 +5052,7 @@ pub mod agents { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5150,7 +5151,7 @@ pub mod agents { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5276,7 +5277,7 @@ pub mod yamlschema { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5498,7 +5499,7 @@ pub mod deploymentgroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5660,7 +5661,7 @@ pub mod deploymentgroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5762,7 +5763,7 @@ pub mod deploymentgroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5886,7 +5887,7 @@ pub mod deploymentgroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5985,7 +5986,7 @@ pub mod deploymentgroups { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6196,7 +6197,7 @@ pub mod targets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6403,7 +6404,7 @@ pub mod targets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6507,7 +6508,7 @@ pub mod targets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6617,7 +6618,7 @@ pub mod targets { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6836,7 +6837,7 @@ pub mod environments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6965,7 +6966,7 @@ pub mod environments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7067,7 +7068,7 @@ pub mod environments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7180,7 +7181,7 @@ pub mod environments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7279,7 +7280,7 @@ pub mod environments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7419,7 +7420,7 @@ pub mod environmentdeployment_records { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7608,7 +7609,7 @@ pub mod kubernetes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7712,7 +7713,7 @@ pub mod kubernetes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7811,7 +7812,7 @@ pub mod kubernetes { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8014,7 +8015,7 @@ pub mod taskgroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8116,7 +8117,7 @@ pub mod taskgroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8289,7 +8290,7 @@ pub mod taskgroups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8388,7 +8389,7 @@ pub mod taskgroups { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8576,7 +8577,7 @@ pub mod elasticpools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8677,7 +8678,7 @@ pub mod elasticpools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8823,7 +8824,7 @@ pub mod elasticpools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8923,7 +8924,7 @@ pub mod elasticpools { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9048,7 +9049,7 @@ pub mod elasticpoollogs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9201,7 +9202,7 @@ pub mod nodes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9310,7 +9311,7 @@ pub mod nodes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/extension_management/mod.rs b/azure_devops_rust_api/src/extension_management/mod.rs index 0b16a1b4..baa29e5b 100644 --- a/azure_devops_rust_api/src/extension_management/mod.rs +++ b/azure_devops_rust_api/src/extension_management/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -250,7 +251,7 @@ pub mod installed_extensions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -402,7 +403,7 @@ pub mod installed_extensions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -502,7 +503,7 @@ pub mod installed_extensions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -610,7 +611,7 @@ pub mod installed_extensions { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -735,7 +736,7 @@ pub mod installed_extensions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/favorite/mod.rs b/azure_devops_rust_api/src/favorite/mod.rs index f78b6982..924761ad 100644 --- a/azure_devops_rust_api/src/favorite/mod.rs +++ b/azure_devops_rust_api/src/favorite/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -321,7 +322,7 @@ pub mod favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -472,7 +473,7 @@ pub mod favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -584,7 +585,7 @@ pub mod favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -709,7 +710,7 @@ pub mod favorites { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -837,7 +838,7 @@ pub mod favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -973,7 +974,7 @@ pub mod favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1112,7 +1113,7 @@ pub mod favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1212,7 +1213,7 @@ pub mod favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1338,7 +1339,7 @@ pub mod favorites { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/git/mod.rs b/azure_devops_rust_api/src/git/mod.rs index d31a7601..6ee24ea7 100644 --- a/azure_devops_rust_api/src/git/mod.rs +++ b/azure_devops_rust_api/src/git/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -456,7 +457,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -567,7 +568,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -671,7 +672,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -772,7 +773,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -871,7 +872,7 @@ pub mod repositories { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -976,7 +977,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1109,7 +1110,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1222,7 +1223,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1324,7 +1325,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1423,7 +1424,7 @@ pub mod repositories { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1677,7 +1678,7 @@ pub mod commits { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2139,7 +2140,7 @@ pub mod commits { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2279,7 +2280,7 @@ pub mod commits { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2394,7 +2395,7 @@ pub mod commits { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2520,7 +2521,7 @@ pub mod commits { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2753,7 +2754,7 @@ pub mod items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3010,7 +3011,7 @@ pub mod items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3252,7 +3253,7 @@ pub mod items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3413,7 +3414,7 @@ pub mod stats { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3572,7 +3573,7 @@ pub mod stats { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3812,7 +3813,7 @@ pub mod refs_favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3934,7 +3935,7 @@ pub mod refs_favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4036,7 +4037,7 @@ pub mod refs_favorites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4133,7 +4134,7 @@ pub mod refs_favorites { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4272,7 +4273,7 @@ pub mod policy_configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -4609,7 +4610,7 @@ pub mod pull_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4923,7 +4924,7 @@ pub mod pull_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5025,7 +5026,7 @@ pub mod pull_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5341,7 +5342,7 @@ pub mod pull_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5457,7 +5458,7 @@ pub mod pull_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5617,7 +5618,7 @@ pub mod pull_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5800,7 +5801,7 @@ pub mod annotated_tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5904,7 +5905,7 @@ pub mod annotated_tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6065,7 +6066,7 @@ pub mod blobs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6179,7 +6180,7 @@ pub mod blobs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6402,7 +6403,7 @@ pub mod cherry_picks { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6509,7 +6510,7 @@ pub mod cherry_picks { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6613,7 +6614,7 @@ pub mod cherry_picks { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6777,7 +6778,7 @@ pub mod statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6914,7 +6915,7 @@ pub mod statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7058,7 +7059,7 @@ pub mod diffs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7361,7 +7362,7 @@ pub mod import_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7474,7 +7475,7 @@ pub mod import_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7578,7 +7579,7 @@ pub mod import_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7682,7 +7683,7 @@ pub mod import_requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7820,7 +7821,7 @@ pub mod pull_request_query { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8034,7 +8035,7 @@ pub mod pull_request_attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8136,7 +8137,7 @@ pub mod pull_request_attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8242,7 +8243,7 @@ pub mod pull_request_attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8345,7 +8346,7 @@ pub mod pull_request_attachments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8515,7 +8516,7 @@ pub mod pull_request_commits { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8641,7 +8642,7 @@ pub mod pull_request_commits { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8832,7 +8833,7 @@ pub mod pull_request_iterations { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8951,7 +8952,7 @@ pub mod pull_request_iterations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9101,7 +9102,7 @@ pub mod pull_request_iteration_changes { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9391,7 +9392,7 @@ pub mod pull_request_iteration_statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9498,7 +9499,7 @@ pub mod pull_request_iteration_statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9601,7 +9602,7 @@ pub mod pull_request_iteration_statuses { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9712,7 +9713,7 @@ pub mod pull_request_iteration_statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9815,7 +9816,7 @@ pub mod pull_request_iteration_statuses { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10040,7 +10041,7 @@ pub mod pull_request_labels { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10156,7 +10157,7 @@ pub mod pull_request_labels { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10273,7 +10274,7 @@ pub mod pull_request_labels { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10385,7 +10386,7 @@ pub mod pull_request_labels { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10562,7 +10563,7 @@ pub mod pull_request_properties { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10666,7 +10667,7 @@ pub mod pull_request_properties { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10988,7 +10989,7 @@ pub mod pull_request_reviewers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11096,7 +11097,7 @@ pub mod pull_request_reviewers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11203,7 +11204,7 @@ pub mod pull_request_reviewers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11304,7 +11305,7 @@ pub mod pull_request_reviewers { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11413,7 +11414,7 @@ pub mod pull_request_reviewers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11519,7 +11520,7 @@ pub mod pull_request_reviewers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11627,7 +11628,7 @@ pub mod pull_request_reviewers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11730,7 +11731,7 @@ pub mod pull_request_reviewers { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11868,7 +11869,7 @@ pub mod pull_request_share { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12112,7 +12113,7 @@ pub mod pull_request_statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12217,7 +12218,7 @@ pub mod pull_request_statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12318,7 +12319,7 @@ pub mod pull_request_statuses { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12427,7 +12428,7 @@ pub mod pull_request_statuses { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12528,7 +12529,7 @@ pub mod pull_request_statuses { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12756,7 +12757,7 @@ pub mod pull_request_threads { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12888,7 +12889,7 @@ pub mod pull_request_threads { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13000,7 +13001,7 @@ pub mod pull_request_threads { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13134,7 +13135,7 @@ pub mod pull_request_threads { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13393,7 +13394,7 @@ pub mod pull_request_thread_comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13499,7 +13500,7 @@ pub mod pull_request_thread_comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13607,7 +13608,7 @@ pub mod pull_request_thread_comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13715,7 +13716,7 @@ pub mod pull_request_thread_comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13820,7 +13821,7 @@ pub mod pull_request_thread_comments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -14025,7 +14026,7 @@ pub mod pull_request_comment_likes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -14119,7 +14120,7 @@ pub mod pull_request_comment_likes { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -14217,7 +14218,7 @@ pub mod pull_request_comment_likes { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -14351,7 +14352,7 @@ pub mod pull_request_work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -14537,7 +14538,7 @@ pub mod pushes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -14756,7 +14757,7 @@ pub mod pushes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -14860,7 +14861,7 @@ pub mod pushes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -15073,7 +15074,7 @@ pub mod refs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -15278,7 +15279,7 @@ pub mod refs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -15394,7 +15395,7 @@ pub mod refs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -15589,7 +15590,7 @@ pub mod reverts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -15696,7 +15697,7 @@ pub mod reverts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -15800,7 +15801,7 @@ pub mod reverts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -15933,7 +15934,7 @@ pub mod suggestions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -16071,7 +16072,7 @@ pub mod trees { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -16256,7 +16257,7 @@ pub mod merge_bases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -16487,7 +16488,7 @@ pub mod forks { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -16605,7 +16606,7 @@ pub mod forks { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -16730,7 +16731,7 @@ pub mod forks { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -16845,7 +16846,7 @@ pub mod forks { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -17016,7 +17017,7 @@ pub mod merges { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -17131,7 +17132,7 @@ pub mod merges { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/graph/mod.rs b/azure_devops_rust_api/src/graph/mod.rs index b3fa5c0b..831e5e62 100644 --- a/azure_devops_rust_api/src/graph/mod.rs +++ b/azure_devops_rust_api/src/graph/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -205,7 +206,7 @@ pub mod descriptors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -397,7 +398,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -540,7 +541,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -662,7 +663,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -762,7 +763,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -859,7 +860,7 @@ pub mod groups { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1066,7 +1067,7 @@ pub mod memberships { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1188,7 +1189,7 @@ pub mod memberships { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1290,7 +1291,7 @@ pub mod memberships { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1387,7 +1388,7 @@ pub mod memberships { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1487,7 +1488,7 @@ pub mod memberships { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1618,7 +1619,7 @@ pub mod membership_states { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1736,7 +1737,7 @@ pub mod request_access { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1913,7 +1914,7 @@ pub mod service_principals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -2046,7 +2047,7 @@ pub mod service_principals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2157,7 +2158,7 @@ pub mod service_principals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2252,7 +2253,7 @@ pub mod service_principals { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2380,7 +2381,7 @@ pub mod storage_keys { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2506,7 +2507,7 @@ pub mod subject_lookup { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2632,7 +2633,7 @@ pub mod subject_query { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2785,7 +2786,7 @@ pub mod avatars { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2898,7 +2899,7 @@ pub mod avatars { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2998,7 +2999,7 @@ pub mod avatars { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3192,7 +3193,7 @@ pub mod users { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -3335,7 +3336,7 @@ pub mod users { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3446,7 +3447,7 @@ pub mod users { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3546,7 +3547,7 @@ pub mod users { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3643,7 +3644,7 @@ pub mod users { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3769,7 +3770,7 @@ pub mod provider_info { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/hooks/mod.rs b/azure_devops_rust_api/src/hooks/mod.rs index 08651b7c..c6baacb1 100644 --- a/azure_devops_rust_api/src/hooks/mod.rs +++ b/azure_devops_rust_api/src/hooks/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -233,7 +234,7 @@ pub mod consumers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -341,7 +342,7 @@ pub mod consumers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -451,7 +452,7 @@ pub mod consumers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -561,7 +562,7 @@ pub mod consumers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -751,7 +752,7 @@ pub mod notifications { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -851,7 +852,7 @@ pub mod notifications { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -984,7 +985,7 @@ pub mod notifications { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1086,7 +1087,7 @@ pub mod notifications { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1297,7 +1298,7 @@ pub mod publishers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1395,7 +1396,7 @@ pub mod publishers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1498,7 +1499,7 @@ pub mod publishers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1599,7 +1600,7 @@ pub mod publishers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1701,7 +1702,7 @@ pub mod publishers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1803,7 +1804,7 @@ pub mod publishers { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2007,7 +2008,7 @@ pub mod subscriptions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2149,7 +2150,7 @@ pub mod subscriptions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2249,7 +2250,7 @@ pub mod subscriptions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2349,7 +2350,7 @@ pub mod subscriptions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2446,7 +2447,7 @@ pub mod subscriptions { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2549,7 +2550,7 @@ pub mod subscriptions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2690,7 +2691,7 @@ pub mod diagnostics { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2794,7 +2795,7 @@ pub mod diagnostics { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/ims/mod.rs b/azure_devops_rust_api/src/ims/mod.rs index 3c17fa0a..94a64d48 100644 --- a/azure_devops_rust_api/src/ims/mod.rs +++ b/azure_devops_rust_api/src/ims/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -175,7 +176,7 @@ pub mod identities { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/member_entitlement_management/mod.rs b/azure_devops_rust_api/src/member_entitlement_management/mod.rs index 52a35fc7..d4933bc3 100644 --- a/azure_devops_rust_api/src/member_entitlement_management/mod.rs +++ b/azure_devops_rust_api/src/member_entitlement_management/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -252,7 +253,7 @@ pub mod group_entitlements { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -355,7 +356,7 @@ pub mod group_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -467,7 +468,7 @@ pub mod group_entitlements { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -572,7 +573,7 @@ pub mod group_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -691,7 +692,7 @@ pub mod group_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -881,7 +882,7 @@ pub mod members { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -998,7 +999,7 @@ pub mod members { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1098,7 +1099,7 @@ pub mod members { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1228,7 +1229,7 @@ pub mod member_entitlements { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1464,7 +1465,7 @@ pub mod service_principal_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1573,7 +1574,7 @@ pub mod service_principal_entitlements { { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1681,7 +1682,7 @@ pub mod service_principal_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1787,7 +1788,7 @@ pub mod service_principal_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1887,7 +1888,7 @@ pub mod service_principal_entitlements { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2104,7 +2105,7 @@ pub mod user_entitlements { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2252,7 +2253,7 @@ pub mod user_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2358,7 +2359,7 @@ pub mod user_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2476,7 +2477,7 @@ pub mod user_entitlements { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2581,7 +2582,7 @@ pub mod user_entitlements { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2679,7 +2680,7 @@ pub mod user_entitlements { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2803,7 +2804,7 @@ pub mod user_entitlement_summary { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/operations/mod.rs b/azure_devops_rust_api/src/operations/mod.rs index 2d5171bf..fcb6218e 100644 --- a/azure_devops_rust_api/src/operations/mod.rs +++ b/azure_devops_rust_api/src/operations/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -173,7 +174,7 @@ pub mod operations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/permissions_report/mod.rs b/azure_devops_rust_api/src/permissions_report/mod.rs index f77bf074..b3b21a94 100644 --- a/azure_devops_rust_api/src/permissions_report/mod.rs +++ b/azure_devops_rust_api/src/permissions_report/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -201,7 +202,7 @@ pub mod permissions_report { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -299,7 +300,7 @@ pub mod permissions_report { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -399,7 +400,7 @@ pub mod permissions_report { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -523,7 +524,7 @@ pub mod permissions_report_download { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/pipelines/mod.rs b/azure_devops_rust_api/src/pipelines/mod.rs index 687c8cea..374e84e6 100644 --- a/azure_devops_rust_api/src/pipelines/mod.rs +++ b/azure_devops_rust_api/src/pipelines/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -226,7 +227,7 @@ pub mod pipelines { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -359,7 +360,7 @@ pub mod pipelines { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -461,7 +462,7 @@ pub mod pipelines { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -607,7 +608,7 @@ pub mod preview { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -796,7 +797,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -896,7 +897,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1009,7 +1010,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1149,7 +1150,7 @@ pub mod artifacts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1328,7 +1329,7 @@ pub mod logs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1441,7 +1442,7 @@ pub mod logs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/policy/mod.rs b/azure_devops_rust_api/src/policy/mod.rs index 6996ef46..c03cf33f 100644 --- a/azure_devops_rust_api/src/policy/mod.rs +++ b/azure_devops_rust_api/src/policy/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -267,7 +268,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -410,7 +411,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -512,7 +513,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -614,7 +615,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -713,7 +714,7 @@ pub mod configurations { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -874,7 +875,7 @@ pub mod revisions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -999,7 +1000,7 @@ pub mod revisions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1176,7 +1177,7 @@ pub mod evaluations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1319,7 +1320,7 @@ pub mod evaluations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1425,7 +1426,7 @@ pub mod evaluations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1573,7 +1574,7 @@ pub mod types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1673,7 +1674,7 @@ pub mod types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/processadmin/mod.rs b/azure_devops_rust_api/src/processadmin/mod.rs index 8d2674fb..f366ea91 100644 --- a/azure_devops_rust_api/src/processadmin/mod.rs +++ b/azure_devops_rust_api/src/processadmin/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -194,7 +195,7 @@ pub mod behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -300,7 +301,7 @@ pub mod behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -458,7 +459,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -558,7 +559,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -681,7 +682,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/processes/mod.rs b/azure_devops_rust_api/src/processes/mod.rs index 6773b5ee..d217f83f 100644 --- a/azure_devops_rust_api/src/processes/mod.rs +++ b/azure_devops_rust_api/src/processes/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -350,7 +351,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -461,7 +462,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -561,7 +562,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -667,7 +668,7 @@ pub mod groups { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -763,7 +764,7 @@ pub mod groups { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -950,7 +951,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1058,7 +1059,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1158,7 +1159,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1268,7 +1269,7 @@ pub mod processes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1365,7 +1366,7 @@ pub mod processes { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1573,7 +1574,7 @@ pub mod behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1683,7 +1684,7 @@ pub mod behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1785,7 +1786,7 @@ pub mod behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1897,7 +1898,7 @@ pub mod behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1996,7 +1997,7 @@ pub mod behaviors { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2209,7 +2210,7 @@ pub mod work_item_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2321,7 +2322,7 @@ pub mod work_item_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2423,7 +2424,7 @@ pub mod work_item_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2536,7 +2537,7 @@ pub mod work_item_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2635,7 +2636,7 @@ pub mod work_item_types { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2864,7 +2865,7 @@ pub mod fields { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2970,7 +2971,7 @@ pub mod fields { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3078,7 +3079,7 @@ pub mod fields { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3196,7 +3197,7 @@ pub mod fields { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3298,7 +3299,7 @@ pub mod fields { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3434,7 +3435,7 @@ pub mod layout { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3653,7 +3654,7 @@ pub mod controls { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3759,7 +3760,7 @@ pub mod controls { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3878,7 +3879,7 @@ pub mod controls { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3981,7 +3982,7 @@ pub mod controls { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4164,7 +4165,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4266,7 +4267,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4365,7 +4366,7 @@ pub mod pages { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4547,7 +4548,7 @@ pub mod system_controls { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4649,7 +4650,7 @@ pub mod system_controls { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4755,7 +4756,7 @@ pub mod system_controls { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4977,7 +4978,7 @@ pub mod rules { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5079,7 +5080,7 @@ pub mod rules { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5183,7 +5184,7 @@ pub mod rules { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5287,7 +5288,7 @@ pub mod rules { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5388,7 +5389,7 @@ pub mod rules { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5642,7 +5643,7 @@ pub mod states { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5748,7 +5749,7 @@ pub mod states { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5856,7 +5857,7 @@ pub mod states { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5964,7 +5965,7 @@ pub mod states { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6074,7 +6075,7 @@ pub mod states { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6176,7 +6177,7 @@ pub mod states { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6401,7 +6402,7 @@ pub mod work_item_types_behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6504,7 +6505,7 @@ pub mod work_item_types_behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6608,7 +6609,7 @@ pub mod work_item_types_behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6712,7 +6713,7 @@ pub mod work_item_types_behaviors { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6811,7 +6812,7 @@ pub mod work_item_types_behaviors { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7004,7 +7005,7 @@ pub mod lists { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7102,7 +7103,7 @@ pub mod lists { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7202,7 +7203,7 @@ pub mod lists { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7302,7 +7303,7 @@ pub mod lists { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7399,7 +7400,7 @@ pub mod lists { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/profile/mod.rs b/azure_devops_rust_api/src/profile/mod.rs index ab4b7ee2..bac4991f 100644 --- a/azure_devops_rust_api/src/profile/mod.rs +++ b/azure_devops_rust_api/src/profile/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -171,7 +172,7 @@ pub mod profiles { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/release/mod.rs b/azure_devops_rust_api/src/release/mod.rs index d280e47d..643eaaa9 100644 --- a/azure_devops_rust_api/src/release/mod.rs +++ b/azure_devops_rust_api/src/release/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -419,7 +420,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -565,7 +566,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -904,7 +905,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1004,7 +1005,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1112,7 +1113,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1216,7 +1217,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1320,7 +1321,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1435,7 +1436,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1539,7 +1540,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1658,7 +1659,7 @@ pub mod releases { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1816,7 +1817,7 @@ pub mod approvals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2005,7 +2006,7 @@ pub mod approvals { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2269,7 +2270,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2527,7 +2528,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2629,7 +2630,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2731,7 +2732,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2839,7 +2840,7 @@ pub mod definitions { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2971,7 +2972,7 @@ pub mod definitions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3072,7 +3073,7 @@ pub mod definitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3215,7 +3216,7 @@ pub mod deployments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3580,7 +3581,7 @@ pub mod folders { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3693,7 +3694,7 @@ pub mod folders { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3797,7 +3798,7 @@ pub mod folders { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3896,7 +3897,7 @@ pub mod folders { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4033,7 +4034,7 @@ pub mod gates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4289,7 +4290,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4388,7 +4389,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4494,7 +4495,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4593,7 +4594,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4774,7 +4775,7 @@ pub mod manual_interventions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4877,7 +4878,7 @@ pub mod manual_interventions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4981,7 +4982,7 @@ pub mod manual_interventions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/search/mod.rs b/azure_devops_rust_api/src/search/mod.rs index 185dafe7..61a5828b 100644 --- a/azure_devops_rust_api/src/search/mod.rs +++ b/azure_devops_rust_api/src/search/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -192,7 +193,7 @@ pub mod package_search_results { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -334,7 +335,7 @@ pub mod code_search_results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -468,7 +469,7 @@ pub mod repositories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -602,7 +603,7 @@ pub mod tfvc { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -732,7 +733,7 @@ pub mod wiki_search_results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -866,7 +867,7 @@ pub mod work_item_search_results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/security/mod.rs b/azure_devops_rust_api/src/security/mod.rs index 118b1047..af0f96c4 100644 --- a/azure_devops_rust_api/src/security/mod.rs +++ b/azure_devops_rust_api/src/security/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -204,7 +205,7 @@ pub mod access_control_entries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -305,7 +306,7 @@ pub mod access_control_entries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -492,7 +493,7 @@ pub mod access_control_lists { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -630,7 +631,7 @@ pub mod access_control_lists { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -733,7 +734,7 @@ pub mod access_control_lists { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -924,7 +925,7 @@ pub mod permissions { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1064,7 +1065,7 @@ pub mod permissions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1183,7 +1184,7 @@ pub mod permissions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1316,7 +1317,7 @@ pub mod security_namespaces { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/security_roles/mod.rs b/azure_devops_rust_api/src/security_roles/mod.rs index 72a2e806..e735a8cb 100644 --- a/azure_devops_rust_api/src/security_roles/mod.rs +++ b/azure_devops_rust_api/src/security_roles/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -276,7 +277,7 @@ pub mod roleassignments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -380,7 +381,7 @@ pub mod roleassignments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -482,7 +483,7 @@ pub mod roleassignments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -597,7 +598,7 @@ pub mod roleassignments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -704,7 +705,7 @@ pub mod roleassignments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -805,7 +806,7 @@ pub mod roleassignments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -935,7 +936,7 @@ pub mod roledefinitions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/service_endpoint/mod.rs b/azure_devops_rust_api/src/service_endpoint/mod.rs index a362a873..2dba4ab0 100644 --- a/azure_devops_rust_api/src/service_endpoint/mod.rs +++ b/azure_devops_rust_api/src/service_endpoint/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -211,7 +212,7 @@ pub mod endpointproxy { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -318,7 +319,7 @@ pub mod endpointproxy { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -610,7 +611,7 @@ pub mod endpoints { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -783,7 +784,7 @@ pub mod endpoints { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -883,7 +884,7 @@ pub mod endpoints { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -983,7 +984,7 @@ pub mod endpoints { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1091,7 +1092,7 @@ pub mod endpoints { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1191,7 +1192,7 @@ pub mod endpoints { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1310,7 +1311,7 @@ pub mod endpoints { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1466,7 +1467,7 @@ pub mod endpoints { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1573,7 +1574,7 @@ pub mod endpoints { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1711,7 +1712,7 @@ pub mod types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1866,7 +1867,7 @@ pub mod executionhistory { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/status/mod.rs b/azure_devops_rust_api/src/status/mod.rs index 6b8099c4..0b694be9 100644 --- a/azure_devops_rust_api/src/status/mod.rs +++ b/azure_devops_rust_api/src/status/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -164,7 +165,7 @@ pub mod health { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/symbol/mod.rs b/azure_devops_rust_api/src/symbol/mod.rs index d8989009..8ee57d38 100644 --- a/azure_devops_rust_api/src/symbol/mod.rs +++ b/azure_devops_rust_api/src/symbol/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -332,7 +333,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -444,7 +445,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -547,7 +548,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -647,7 +648,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -747,7 +748,7 @@ pub mod requests { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -864,7 +865,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -964,7 +965,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1071,7 +1072,7 @@ pub mod requests { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1168,7 +1169,7 @@ pub mod requests { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1300,7 +1301,7 @@ pub mod availability { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1432,7 +1433,7 @@ pub mod client { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1531,7 +1532,7 @@ pub mod client { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1655,7 +1656,7 @@ pub mod contents { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1781,7 +1782,7 @@ pub mod symsrv { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/telemetry.rs b/azure_devops_rust_api/src/telemetry.rs index 0956f49f..ed782d15 100644 --- a/azure_devops_rust_api/src/telemetry.rs +++ b/azure_devops_rust_api/src/telemetry.rs @@ -6,7 +6,7 @@ use async_trait::async_trait; use azure_core::http::{ headers::Headers, policies::{Policy, PolicyResult}, - Context, RawResponse, Request, + BufResponse, Context, Request, }; use std::sync::Arc; use tracing::{error, info}; @@ -79,7 +79,7 @@ impl Policy for RequestLogger { ); let response_stream = Box::pin(futures::stream::once(futures::future::ready(response_body))); - Ok(RawResponse::new(status_code, headers, response_stream)) + Ok(BufResponse::new(status_code, headers, response_stream)) } Err(err) => { error!( diff --git a/azure_devops_rust_api/src/test/mod.rs b/azure_devops_rust_api/src/test/mod.rs index be123bb1..302bc64f 100644 --- a/azure_devops_rust_api/src/test/mod.rs +++ b/azure_devops_rust_api/src/test/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -345,7 +346,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -613,7 +614,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -798,7 +799,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -900,7 +901,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1013,7 +1014,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1112,7 +1113,7 @@ pub mod runs { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1217,7 +1218,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1545,7 +1546,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1658,7 +1659,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1769,7 +1770,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1881,7 +1882,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1986,7 +1987,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2089,7 +2090,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2193,7 +2194,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2300,7 +2301,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2405,7 +2406,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2565,7 +2566,7 @@ pub mod code_coverage { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2675,7 +2676,7 @@ pub mod code_coverage { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2896,7 +2897,7 @@ pub mod points { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3078,7 +3079,7 @@ pub mod points { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3195,7 +3196,7 @@ pub mod points { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3303,7 +3304,7 @@ pub mod points { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3562,7 +3563,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3666,7 +3667,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3772,7 +3773,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3879,7 +3880,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3982,7 +3983,7 @@ pub mod test_suites { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4139,7 +4140,7 @@ pub mod result_retention_settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4243,7 +4244,7 @@ pub mod result_retention_settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4375,7 +4376,7 @@ pub mod test_history { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4577,7 +4578,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4723,7 +4724,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4827,7 +4828,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4931,7 +4932,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5110,7 +5111,7 @@ pub mod iterations { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5230,7 +5231,7 @@ pub mod iterations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5373,7 +5374,7 @@ pub mod test_cases { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5556,7 +5557,7 @@ pub mod session { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5720,7 +5721,7 @@ pub mod session { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5824,7 +5825,7 @@ pub mod session { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/test_plan/mod.rs b/azure_devops_rust_api/src/test_plan/mod.rs index cbb6d8ee..cc720df8 100644 --- a/azure_devops_rust_api/src/test_plan/mod.rs +++ b/azure_devops_rust_api/src/test_plan/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -338,7 +339,7 @@ pub mod suite_test_case { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -451,7 +452,7 @@ pub mod suite_test_case { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -642,7 +643,7 @@ pub mod suite_test_case { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -748,7 +749,7 @@ pub mod suite_test_case { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -849,7 +850,7 @@ pub mod suite_test_case { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -961,7 +962,7 @@ pub mod suite_test_case { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1181,7 +1182,7 @@ pub mod test_point { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1352,7 +1353,7 @@ pub mod test_point { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1484,7 +1485,7 @@ pub mod test_point { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1753,7 +1754,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1856,7 +1857,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1991,7 +1992,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2095,7 +2096,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2210,7 +2211,7 @@ pub mod test_suites { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2311,7 +2312,7 @@ pub mod test_suites { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2524,7 +2525,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2635,7 +2636,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2737,7 +2738,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2839,7 +2840,7 @@ pub mod configurations { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2947,7 +2948,7 @@ pub mod configurations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3158,7 +3159,7 @@ pub mod test_plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3301,7 +3302,7 @@ pub mod test_plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3403,7 +3404,7 @@ pub mod test_plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3505,7 +3506,7 @@ pub mod test_plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3604,7 +3605,7 @@ pub mod test_plans { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3763,7 +3764,7 @@ pub mod test_plan_clone { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3882,7 +3883,7 @@ pub mod test_plan_clone { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4037,7 +4038,7 @@ pub mod test_suite_entry { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4149,7 +4150,7 @@ pub mod test_suite_entry { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4307,7 +4308,7 @@ pub mod test_suite_clone { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4426,7 +4427,7 @@ pub mod test_suite_clone { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4553,7 +4554,7 @@ pub mod test_cases { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4708,7 +4709,7 @@ pub mod test_case_clone { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4816,7 +4817,7 @@ pub mod test_case_clone { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5025,7 +5026,7 @@ pub mod variables { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5136,7 +5137,7 @@ pub mod variables { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5238,7 +5239,7 @@ pub mod variables { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5340,7 +5341,7 @@ pub mod variables { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5439,7 +5440,7 @@ pub mod variables { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/test_results/mod.rs b/azure_devops_rust_api/src/test_results/mod.rs index 27c086ed..e78d2bc5 100644 --- a/azure_devops_rust_api/src/test_results/mod.rs +++ b/azure_devops_rust_api/src/test_results/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -342,7 +343,7 @@ pub mod codecoverage { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -454,7 +455,7 @@ pub mod codecoverage { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -564,7 +565,7 @@ pub mod codecoverage { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -682,7 +683,7 @@ pub mod codecoverage { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -925,7 +926,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1193,7 +1194,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1371,7 +1372,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1473,7 +1474,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1595,7 +1596,7 @@ pub mod runs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1694,7 +1695,7 @@ pub mod runs { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1926,7 +1927,7 @@ pub mod testlog { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2093,7 +2094,7 @@ pub mod testlog { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2253,7 +2254,7 @@ pub mod testlog { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2411,7 +2412,7 @@ pub mod testlog { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2773,7 +2774,7 @@ pub mod testlogstoreendpoint { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2889,7 +2890,7 @@ pub mod testlogstoreendpoint { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3007,7 +3008,7 @@ pub mod testlogstoreendpoint { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3131,7 +3132,7 @@ pub mod testlogstoreendpoint { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3247,7 +3248,7 @@ pub mod testlogstoreendpoint { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3382,7 +3383,7 @@ pub mod testlogstoreendpoint { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3501,7 +3502,7 @@ pub mod testlogstoreendpoint { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3891,7 +3892,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4004,7 +4005,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4120,7 +4121,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4241,7 +4242,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4342,7 +4343,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4454,7 +4455,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4559,7 +4560,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4662,7 +4663,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4761,7 +4762,7 @@ pub mod attachments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4868,7 +4869,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4975,7 +4976,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5080,7 +5081,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5181,7 +5182,7 @@ pub mod attachments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5405,7 +5406,7 @@ pub mod testattachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5516,7 +5517,7 @@ pub mod testattachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5624,7 +5625,7 @@ pub mod testattachments { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5724,7 +5725,7 @@ pub mod testattachments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5829,7 +5830,7 @@ pub mod testattachments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5998,7 +5999,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6110,7 +6111,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6214,7 +6215,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6363,7 +6364,7 @@ pub mod tagsummary { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6475,7 +6476,7 @@ pub mod tagsummary { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6682,7 +6683,7 @@ pub mod workitems { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6789,7 +6790,7 @@ pub mod workitems { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6949,7 +6950,7 @@ pub mod workitems { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7053,7 +7054,7 @@ pub mod workitems { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7153,7 +7154,7 @@ pub mod workitems { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7290,7 +7291,7 @@ pub mod filecoverage { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7421,7 +7422,7 @@ pub mod status { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7577,7 +7578,7 @@ pub mod metrics { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7768,7 +7769,7 @@ pub mod resultdetailsbybuild { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7974,7 +7975,7 @@ pub mod resultdetailsbyrelease { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8186,7 +8187,7 @@ pub mod resultgroupsbybuild { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8353,7 +8354,7 @@ pub mod resultgroupsbyrelease { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8616,7 +8617,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8718,7 +8719,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8862,7 +8863,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9014,7 +9015,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9118,7 +9119,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9222,7 +9223,7 @@ pub mod results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9362,7 +9363,7 @@ pub mod history { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9519,7 +9520,7 @@ pub mod result_meta_data { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9633,7 +9634,7 @@ pub mod result_meta_data { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9766,7 +9767,7 @@ pub mod test_history { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9901,7 +9902,7 @@ pub mod resultsbybuild { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10085,7 +10086,7 @@ pub mod resultsbypipeline { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10289,7 +10290,7 @@ pub mod resultsbyrelease { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10479,7 +10480,7 @@ pub mod resultsgroup_details { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10688,7 +10689,7 @@ pub mod resultsummarybybuild { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10951,7 +10952,7 @@ pub mod resultsummarybypipeline { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11157,7 +11158,7 @@ pub mod resultsummarybyrelease { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11455,7 +11456,7 @@ pub mod resultsummarybyrelease { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11587,7 +11588,7 @@ pub mod resultsummarybyrequirement { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11731,7 +11732,7 @@ pub mod result_trend_by_build { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11865,7 +11866,7 @@ pub mod result_trend_by_release { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12000,7 +12001,7 @@ pub mod message_logs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12131,7 +12132,7 @@ pub mod result_document { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12263,7 +12264,7 @@ pub mod bugs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12404,7 +12405,7 @@ pub mod similar_test_results { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12562,7 +12563,7 @@ pub mod runsummary { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12693,7 +12694,7 @@ pub mod statistics { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12840,7 +12841,7 @@ pub mod settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12950,7 +12951,7 @@ pub mod settings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13117,7 +13118,7 @@ pub mod testfailuretype { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13218,7 +13219,7 @@ pub mod testfailuretype { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13315,7 +13316,7 @@ pub mod testfailuretype { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13478,7 +13479,7 @@ pub mod testsettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13581,7 +13582,7 @@ pub mod testsettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -13678,7 +13679,7 @@ pub mod testsettings { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/tfvc/mod.rs b/azure_devops_rust_api/src/tfvc/mod.rs index d3c2a994..f711902c 100644 --- a/azure_devops_rust_api/src/tfvc/mod.rs +++ b/azure_devops_rust_api/src/tfvc/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -244,7 +245,7 @@ pub mod shelvesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -466,7 +467,7 @@ pub mod shelvesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -671,7 +672,7 @@ pub mod shelvesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -799,7 +800,7 @@ pub mod shelvesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -975,7 +976,7 @@ pub mod branches { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1101,7 +1102,7 @@ pub mod branches { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1245,7 +1246,7 @@ pub mod branches { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1449,7 +1450,7 @@ pub mod items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1656,7 +1657,7 @@ pub mod items { pub async fn into_body(self) -> azure_core::Result> { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1758,7 +1759,7 @@ pub mod items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2083,7 +2084,7 @@ pub mod changesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2219,7 +2220,7 @@ pub mod changesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2320,7 +2321,7 @@ pub mod changesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2420,7 +2421,7 @@ pub mod changesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2687,7 +2688,7 @@ pub mod changesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2789,7 +2790,7 @@ pub mod changesets { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3180,7 +3181,7 @@ pub mod labels { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3302,7 +3303,7 @@ pub mod labels { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3502,7 +3503,7 @@ pub mod labels { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/token_admin/mod.rs b/azure_devops_rust_api/src/token_admin/mod.rs index fd2e63b4..d492bb44 100644 --- a/azure_devops_rust_api/src/token_admin/mod.rs +++ b/azure_devops_rust_api/src/token_admin/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -186,7 +187,7 @@ pub mod personal_access_tokens { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -341,7 +342,7 @@ pub mod revocation_rules { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -466,7 +467,7 @@ pub mod revocations { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/tokens/mod.rs b/azure_devops_rust_api/src/tokens/mod.rs index b3aa5a9b..bb260a5d 100644 --- a/azure_devops_rust_api/src/tokens/mod.rs +++ b/azure_devops_rust_api/src/tokens/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -233,7 +234,7 @@ pub mod pats { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -389,7 +390,7 @@ pub mod pats { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -492,7 +493,7 @@ pub mod pats { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -592,7 +593,7 @@ pub mod pats { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -687,7 +688,7 @@ pub mod pats { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/wiki/mod.rs b/azure_devops_rust_api/src/wiki/mod.rs index b292dd8e..99045cc1 100644 --- a/azure_devops_rust_api/src/wiki/mod.rs +++ b/azure_devops_rust_api/src/wiki/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -266,7 +267,7 @@ pub mod wikis { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -366,7 +367,7 @@ pub mod wikis { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -468,7 +469,7 @@ pub mod wikis { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -570,7 +571,7 @@ pub mod wikis { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -674,7 +675,7 @@ pub mod wikis { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -814,7 +815,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1017,7 +1018,7 @@ pub mod page_moves { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1361,7 +1362,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1554,7 +1555,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1734,7 +1735,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -1910,7 +1911,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -2046,7 +2047,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -2175,7 +2176,7 @@ pub mod pages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } pub fn headers(&self) -> Headers<'_> { @@ -2333,7 +2334,7 @@ pub mod page_stats { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2483,7 +2484,7 @@ pub mod pages_batch { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/wit/mod.rs b/azure_devops_rust_api/src/wit/mod.rs index 3f7bf92c..e95d3122 100644 --- a/azure_devops_rust_api/src/wit/mod.rs +++ b/azure_devops_rust_api/src/wit/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -391,7 +392,7 @@ pub mod classification_nodes { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -523,7 +524,7 @@ pub mod classification_nodes { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -638,7 +639,7 @@ pub mod classification_nodes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -757,7 +758,7 @@ pub mod classification_nodes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -867,7 +868,7 @@ pub mod classification_nodes { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -969,7 +970,7 @@ pub mod classification_nodes { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1247,7 +1248,7 @@ pub mod queries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1389,7 +1390,7 @@ pub mod queries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1523,7 +1524,7 @@ pub mod queries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1669,7 +1670,7 @@ pub mod queries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1784,7 +1785,7 @@ pub mod queries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1895,7 +1896,7 @@ pub mod queries { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2003,7 +2004,7 @@ pub mod queries { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2216,7 +2217,7 @@ pub mod recyclebin { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2326,7 +2327,7 @@ pub mod recyclebin { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2427,7 +2428,7 @@ pub mod recyclebin { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2529,7 +2530,7 @@ pub mod recyclebin { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2628,7 +2629,7 @@ pub mod recyclebin { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2934,7 +2935,7 @@ pub mod comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3044,7 +3045,7 @@ pub mod comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3199,7 +3200,7 @@ pub mod comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3311,7 +3312,7 @@ pub mod comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3438,7 +3439,7 @@ pub mod comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3542,7 +3543,7 @@ pub mod comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3668,7 +3669,7 @@ pub mod comments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3769,7 +3770,7 @@ pub mod comments { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3896,7 +3897,7 @@ pub mod artifact_link_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4032,7 +4033,7 @@ pub mod work_item_icons { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4130,7 +4131,7 @@ pub mod work_item_icons { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4289,7 +4290,7 @@ pub mod work_item_relation_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4388,7 +4389,7 @@ pub mod work_item_relation_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4520,7 +4521,7 @@ pub mod work_item_transitions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4658,7 +4659,7 @@ pub mod account_my_work_recent_activity { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4791,7 +4792,7 @@ pub mod artifact_uri_query { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4973,7 +4974,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5106,7 +5107,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5230,7 +5231,7 @@ pub mod attachments { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5452,7 +5453,7 @@ pub mod fields { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5563,7 +5564,7 @@ pub mod fields { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5665,7 +5666,7 @@ pub mod fields { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5767,7 +5768,7 @@ pub mod fields { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5866,7 +5867,7 @@ pub mod fields { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6004,7 +6005,7 @@ pub mod project_process_migration { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6142,7 +6143,7 @@ pub mod reporting_work_item_links { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6354,7 +6355,7 @@ pub mod reporting_work_item_revisions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6591,7 +6592,7 @@ pub mod reporting_work_item_revisions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6762,7 +6763,7 @@ pub mod work_item_revisions_discussions { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6906,7 +6907,7 @@ pub mod send_mail { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7099,7 +7100,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7200,7 +7201,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7302,7 +7303,7 @@ pub mod tags { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7401,7 +7402,7 @@ pub mod tags { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7540,7 +7541,7 @@ pub mod temp_queries { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7828,7 +7829,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7976,7 +7977,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8112,7 +8113,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8261,7 +8262,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8397,7 +8398,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8546,7 +8547,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8659,7 +8660,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8761,7 +8762,7 @@ pub mod work_items { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -8915,7 +8916,7 @@ pub mod revisions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9047,7 +9048,7 @@ pub mod revisions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9211,7 +9212,7 @@ pub mod updates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9333,7 +9334,7 @@ pub mod updates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9519,7 +9520,7 @@ pub mod comments_reactions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9623,7 +9624,7 @@ pub mod comments_reactions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9729,7 +9730,7 @@ pub mod comments_reactions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -9872,7 +9873,7 @@ pub mod comment_reactions_engaged_users { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10046,7 +10047,7 @@ pub mod comments_versions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10150,7 +10151,7 @@ pub mod comments_versions { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10304,7 +10305,7 @@ pub mod work_item_type_categories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10405,7 +10406,7 @@ pub mod work_item_type_categories { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10552,7 +10553,7 @@ pub mod work_item_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10652,7 +10653,7 @@ pub mod work_item_types { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10811,7 +10812,7 @@ pub mod work_item_types_field { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -10930,7 +10931,7 @@ pub mod work_item_types_field { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11078,7 +11079,7 @@ pub mod work_item_type_states { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11307,7 +11308,7 @@ pub mod templates { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11421,7 +11422,7 @@ pub mod templates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11525,7 +11526,7 @@ pub mod templates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11629,7 +11630,7 @@ pub mod templates { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11730,7 +11731,7 @@ pub mod templates { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -11919,7 +11920,7 @@ pub mod wiql { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12045,7 +12046,7 @@ pub mod wiql { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -12169,7 +12170,7 @@ pub mod wiql { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } diff --git a/azure_devops_rust_api/src/work/mod.rs b/azure_devops_rust_api/src/work/mod.rs index 77c5af6c..58c78191 100644 --- a/azure_devops_rust_api/src/work/mod.rs +++ b/azure_devops_rust_api/src/work/mod.rs @@ -97,7 +97,7 @@ impl Client { pub(crate) async fn send( &self, request: &mut azure_core::http::Request, - ) -> azure_core::Result { + ) -> azure_core::Result { let context = azure_core::http::Context::default(); self.pipeline.send(&context, request).await } @@ -121,6 +121,7 @@ impl Client { options, Vec::new(), Vec::new(), + None, ); Self { endpoint, @@ -247,7 +248,7 @@ pub mod boardcolumns { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -377,7 +378,7 @@ pub mod boardrows { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -507,7 +508,7 @@ pub mod iterationcapacities { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -714,7 +715,7 @@ pub mod plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -812,7 +813,7 @@ pub mod plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -912,7 +913,7 @@ pub mod plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1012,7 +1013,7 @@ pub mod plans { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1111,7 +1112,7 @@ pub mod plans { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1248,7 +1249,7 @@ pub mod deliverytimeline { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1412,7 +1413,7 @@ pub mod processconfiguration { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1541,7 +1542,7 @@ pub mod backlogconfiguration { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1720,7 +1721,7 @@ pub mod backlogs { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1823,7 +1824,7 @@ pub mod backlogs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -1930,7 +1931,7 @@ pub mod backlogs { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2111,7 +2112,7 @@ pub mod boards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2213,7 +2214,7 @@ pub mod boards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2317,7 +2318,7 @@ pub mod boards { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2478,7 +2479,7 @@ pub mod boardusersettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2582,7 +2583,7 @@ pub mod boardusersettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2763,7 +2764,7 @@ pub mod cardrulesettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2867,7 +2868,7 @@ pub mod cardrulesettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -2968,7 +2969,7 @@ pub mod cardrulesettings { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3150,7 +3151,7 @@ pub mod cardsettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3254,7 +3255,7 @@ pub mod cardsettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3355,7 +3356,7 @@ pub mod cardsettings { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3555,7 +3556,7 @@ pub mod chartimages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3701,7 +3702,7 @@ pub mod chartimages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -3847,7 +3848,7 @@ pub mod chartimages { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4091,7 +4092,7 @@ pub mod charts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4196,7 +4197,7 @@ pub mod charts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4302,7 +4303,7 @@ pub mod charts { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4467,7 +4468,7 @@ pub mod columns { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4571,7 +4572,7 @@ pub mod columns { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4734,7 +4735,7 @@ pub mod rows { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4838,7 +4839,7 @@ pub mod rows { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -4978,7 +4979,7 @@ pub mod boardparents { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5147,7 +5148,7 @@ pub mod workitemsorder { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5253,7 +5254,7 @@ pub mod workitemsorder { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5403,7 +5404,7 @@ pub mod taskboard_columns { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5505,7 +5506,7 @@ pub mod taskboard_columns { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5666,7 +5667,7 @@ pub mod taskboard_work_items { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5766,7 +5767,7 @@ pub mod taskboard_work_items { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -5928,7 +5929,7 @@ pub mod teamsettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6030,7 +6031,7 @@ pub mod teamsettings { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6255,7 +6256,7 @@ pub mod iterations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6369,7 +6370,7 @@ pub mod iterations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6473,7 +6474,7 @@ pub mod iterations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6572,7 +6573,7 @@ pub mod iterations { #[derive(Debug)] pub struct Response(azure_core::http::Response<(), azure_core::http::NoFormat>); impl Response { - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6679,7 +6680,7 @@ pub mod iterations { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -6893,7 +6894,7 @@ pub mod capacities { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7002,7 +7003,7 @@ pub mod capacities { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7114,7 +7115,7 @@ pub mod capacities { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7226,7 +7227,7 @@ pub mod capacities { ) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7392,7 +7393,7 @@ pub mod teamdaysoff { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7496,7 +7497,7 @@ pub mod teamdaysoff { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7652,7 +7653,7 @@ pub mod teamfieldvalues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } @@ -7754,7 +7755,7 @@ pub mod teamfieldvalues { pub async fn into_body(self) -> azure_core::Result { self.0.into_body().await } - pub fn into_raw_response(self) -> azure_core::http::RawResponse { + pub fn into_raw_response(self) -> azure_core::http::BufResponse { self.0.into() } } From cf0ff7ea7990d178a0df8d6f0846815f6866e442 Mon Sep 17 00:00:00 2001 From: John Batty Date: Fri, 19 Sep 2025 09:57:04 +0100 Subject: [PATCH 2/2] Replace DefaultAzureCredential with AzureCliCredential --- azure_devops_rust_api/examples/utils/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/azure_devops_rust_api/examples/utils/mod.rs b/azure_devops_rust_api/examples/utils/mod.rs index be89d705..f46a3e6b 100644 --- a/azure_devops_rust_api/examples/utils/mod.rs +++ b/azure_devops_rust_api/examples/utils/mod.rs @@ -8,14 +8,14 @@ use azure_core::http::{ Context, Request, }; use azure_devops_rust_api::Credential; -use azure_identity::DefaultAzureCredential; +use azure_identity::AzureCliCredential; use std::sync::Arc; -fn authenticate_with_default_credential() -> Result { - println!("Authenticate using auto-refreshing DefaultAzureCredential"); - let default_azure_credential = DefaultAzureCredential::new()?; +fn authenticate_with_cli_credential() -> Result { + println!("Authenticate using Azure CLI credential"); + let azure_cli_credential = AzureCliCredential::new(None)?; - Ok(Credential::from_token_credential(default_azure_credential)) + Ok(Credential::from_token_credential(azure_cli_credential)) } #[allow(dead_code)] @@ -26,7 +26,7 @@ pub fn get_credential() -> Result { println!("Authenticate using PAT provided via $ADO_TOKEN"); Ok(Credential::from_pat(token)) } - _ => authenticate_with_default_credential(), + _ => authenticate_with_cli_credential(), } }