diff --git a/README.md b/README.md index 8cb7981..80aab72 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,19 @@ # Progenitor Progenitor is a Rust crate for generating opinionated clients from API -descriptions specified in the OpenAPI 3.0.x format. It makes use of Rust -futures for async API calls and `Streams` for paginated interfaces. +descriptions in the OpenAPI 3.0.x specification. It makes use of Rust +futures for `async` API calls and `Streams` for paginated interfaces. It generates a type called `Client` with methods that correspond to the operations specified in the OpenAPI document. +The primary target is OpenAPI documents emitted by +[Dropshot](https://github.com/oxidecomputer/dropshot)-generated APIs, but it +can be used for many OpenAPI documents. As OpenAPI covers a wide range of APIs, +Progenitor may fail for some OpenAPI documents. If you encounter a problem, you +can help the project by filing an issue that includes the OpenAPI document that +produced the problem. + ## Using Progenitor There are three different ways of using the `progenitor` crate. The one you @@ -64,7 +71,7 @@ generate_api!( Note that the macro will be re-evaluated when the OpenAPI json document changes (when its mtime is updated). -### Builder +### `build.rs` Progenitor includes an interface appropriate for use in a [`build.rs`](https://doc.rust-lang.org/cargo/reference/build-scripts.html) @@ -154,3 +161,133 @@ uuid = { version = ">=0.8.0, <2.0.0", features = ["serde", "v4"] } Note that there is a dependency on `percent-encoding` which macro- and build.rs-generated clients is included from `progenitor-client`. + + +## Generation Styles + +Progenitor can generate two distinct interface styles: positional and builder +(described below). The choice is simply a matter of preference that many vary +by API and taste. + +## Positional (current default) + +The "positional" style generates `Client` methods that accept parameters in +order, for example: + +```rust +impl Client { + pub async fn instance_create<'a>( + &'a self, + organization_name: &'a types::Name, + project_name: &'a types::Name, + body: &'a types::InstanceCreate, + ) -> Result, Error> { + // ... + } +} +``` + +A caller invokes this interface by specifying parameters by position: + +```rust +let result = client.instance_create(org, proj, body).await?; +``` + +Note that the type of each parameter must match precisely--no conversion is +done implicitly. + +## Builder + +The "builder" style generates `Client` methods that produce a builder struct. +API parameters are applied to that builder, and then the builder is executed +(via a `send` method). The code is more extensive and more complex to enable +simpler and more legible consumers: + +```rust +impl Client + pub fn instance_create(&self) -> builder::InstanceCreate { + builder::InstanceCreate::new(self) + } +} + +mod builder { + pub struct InstanceCreate<'a> { + client: &'a super::Client, + organization_name: Result, + project_name: Result, + body: Result, + } + + impl<'a> InstanceCreate<'a> { + pub fn new(client: &'a super::Client) -> Self { + // ... + } + + pub fn organization_name(mut self, value: V) -> Self + where + V: TryInto, + { + // ... + } + + pub fn project_name(mut self, value: V) -> Self + where + V: TryInto, + { + // ... + } + + pub fn body(mut self, value: V) -> Self + where + V: TryInto, + { + // ... + } + + pub async fn send(self) -> + Result, Error> + { + // ... + } + } +} +``` + +Note that, unlike positional generation, consumers can supply compatible +(rather than invariant) parameters: + +```rust +let result = client + .instance_create() + .organization_name("org") + .project_name("proj") + .body(body) + .send() + .await?; +``` + +The string parameters are will implicitly have `TryFrom::try_from()` invoked on +them. Failed conversions or missing required parameters will result in an +`Error` result from the `send()` call. + +Generated `struct` types also have builders so that the `body` parameter can be +constructed inline: + +```rust +let result = client + .instance_create() + .organization_name("org") + .project_name("proj") + .body(types::InstanceCreate::builder() + .name("...") + .description("...") + .hostname("...") + .ncpus(types::InstanceCpuCount(4)) + .memory(types::ByteCount(1024 * 1024 * 1024)), + ) + .send() + .await?; +``` + +Consumers do not need to specify parameters and struct properties that are not +required or for which the API specifies defaults. Neat! \ No newline at end of file diff --git a/docs/builder-generation.md b/docs/builder-generation.md new file mode 100644 index 0000000..245e38f --- /dev/null +++ b/docs/builder-generation.md @@ -0,0 +1,140 @@ +# Builder Generation + +When the "builder" style is specified, Progenitor generates methods and builder +struct according to operations within an OpenAPI document. They take the +following general form: + +```rust +impl Client { + pub fn operation_name(&self) -> builder::InstanceCreate { + builder::OperationName::new(self) + } +} + +mod builder { + #[derive(Debug, Clone)] + pub struct OperationName<'a> { + client: &'a super::Client, + + path_parameter_1: Result, + path_parameter_2: Result, + query_parameter_1: Result, + query_parameter_2: Result, String>, + body: Result, + } + + impl<'a> OperationName<'a> { + pub fn new(client: &'a super::Client) -> Self { + Self { + client, + path_parameter_1: Err("path_parameter_1 was not initialized".to_string()), + path_parameter_2: Err("path_parameter_2 was not initialized".to_string()), + query_parameter_1: Err("query_parameter_1 was not initialized".to_string()), + query_parameter_2: Ok(None), + body: Err("body was not initialized".to_string()), + } + } + + pub fn path_parameter_1(mut self, value: V) -> Self + where + V: std::convert::TryInto, + { + self.organization_name = value + .try_into() + .map_err(|_| "conversion to `String` for path_parameter_1 failed".to_string()); + self + } + + pub fn path_parameter_2(mut self, value: V) -> Self + where + V: std::convert::TryInto, + { + self.organization_name = value + .try_into() + .map_err(|_| "conversion to `u32` for path_parameter_2 failed".to_string()); + self + } + + pub fn query_parameter_1(mut self, value: V) -> Self + where + V: std::convert::TryInto, + { + self.organization_name = value + .try_into() + .map_err(|_| "conversion to `String` for query_parameter_1 failed".to_string()); + self + } + + pub fn query_parameter_2(mut self, value: V) -> Self + where + V: std::convert::TryInto, + { + self.organization_name = value + .try_into() + .map_err(|_| "conversion to `u32` for query_parameter_2 failed".to_string()); + self + } + + pub fn body(mut self, value: V) -> Self + where + V: TryInto, + { + self.body = value + .try_into() + .map_err(|_| "conversion to `ThisOperationBody` for body failed".to_string()); + self + } + + pub async fn send(self) -> Result< + ResponseValue, + Error, + > { + // ... + } + } +``` + +For more info on the `ResponseValue` and `Error` types, see +[progenitor_client](./progenitor-client.md). + +Note that `send` methods are `async` so must be `await`ed to get the response value. + +### Dropshot Paginated Operations + +Dropshot defines a mechanism for pagination. If that mechanism is used for a +particular operation, Progenitor will generate an additional `stream` method on +the builder struct that produces a `Stream`. Consumers can iterate over all +items in the paginated collection without manually fetching individual pages. + +Here's the signature for a typical generated method: + +```rust + impl<'a> OperationName<'a> { + pub fn stream( + self, + ) -> impl futures::Stream< + Item = Result> + > + Unpin + 'a { + // ... + } + } +``` + +A typical consumer of this method might look like this: + +```rust + let mut stream = client.operation_name().stream(); + loop { + match stream.try_next().await { + Ok(Some(item)) => println!("item {:?}", item), + Ok(None) => { + println!("done."); + break; + } + Err(_) => { + println!("error!"); + break; + } + } + } +``` diff --git a/docs/implementing-client.md b/docs/implementing-client.md index abd9116..52be752 100644 --- a/docs/implementing-client.md +++ b/docs/implementing-client.md @@ -1,14 +1,17 @@ # Implementing the client -Once you have generated your client, you'll notice there are two methods to create a new client; `Client::new()` and `Client::new_with_client()`. +Once you have generated your client, you'll notice there are two methods to +create a new `Client`; `Client::new()` and `Client::new_with_client()`. -The first method will create a basic client without any headers or customisations that aren't already in your OpenAPI specification file: +The first method will create a basic client without any headers or +customizations that aren't already in your OpenAPI specification file: ```rust let client = Client::new("https://foo/bar"); ``` -Should you need to set custom headers or other reqwest::ClientBuilder methods, you can use `Client::new_with_client()` as shown below. +Should you need to set custom headers or other `reqwest::ClientBuilder` +methods, you can use `Client::new_with_client()` as shown below. ```rust let mut val = reqwest::header::HeaderValue::from_static("super-secret"); @@ -28,4 +31,6 @@ let client_builder = reqwest::ClientBuilder::new() let client Client::new_with_client("https://foo/bar", client_builder); ``` -For more information on available methods, see the [reqwest](https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html) documentation. +For more information on available methods, see the +[reqwest](https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html) +documentation. \ No newline at end of file diff --git a/docs/generated_methods.md b/docs/positional-generation.md similarity index 57% rename from docs/generated_methods.md rename to docs/positional-generation.md index 9e66c65..61aca59 100644 --- a/docs/generated_methods.md +++ b/docs/positional-generation.md @@ -1,37 +1,39 @@ -# Generated Methods +# Positional Generation -Progenitor generates methods according to operations within an OpenAPI -document. Each method takes the following general form: +When the "positional" style is specified, Progenitor generates methods +according to operations within an OpenAPI document. Each takes the following +general form: ```rust impl Client { pub async fn operation_name<'a>( &'a self, - // Path parameters (if any) come first and are always mandatory - path_parameter_1: String, - path_parameter_2: u32, - // Query parameters (if any) come next and may be optional - query_parameter_1: String, - query_parameter_2: Option, - // A body parameter (if specified) comes last - body: &ThisOperationBody, + // Path parameters (if any) come first and are always mandatory + path_parameter_1: String, + path_parameter_2: u32, + // Query parameters (if any) come next and may be optional + query_parameter_1: String, + query_parameter_2: Option, + // A body parameter (if specified) comes last + body: &types::ThisOperationBody, ) -> Result< ResponseValue, - Error + Error, > { - .. + // ... + } ``` For more info on the `ResponseValue` and `Error` types, see [progenitor_client](./progenitor-client.md). -Note that methods are `async` so must be `await`ed to get the response. +Note that methods are `async` so must be `await`ed to get the response value. ### Dropshot Paginated Operations -The Dropshot crate defines a mechanism for pagination. If that mechanism is -used for a particular operation, Progenitor will generate an additional method -that produces a `Stream`. Consumers can iterate over all items in the paginated +Dropshot defines a mechanism for pagination. If that mechanism is used for a +particular operation, Progenitor will generate an additional method that +produces a `Stream`. Consumers can iterate over all items in the paginated collection without manually fetching individual pages. Here's the signature for a typical generated method: @@ -44,7 +46,8 @@ Here's the signature for a typical generated method: ) -> impl futures::Stream< Item = Result> > + Unpin + '_ { - .. + // ... + } ``` A typical consumer of this method might look like this: diff --git a/docs/progenitor-client.md b/docs/progenitor-client.md index 7dbaf3d..d0e90cc 100644 --- a/docs/progenitor-client.md +++ b/docs/progenitor-client.md @@ -25,7 +25,8 @@ impl Client { ResponseValue, Error> { - .. + // ... + } ``` ## `ResponseValue` @@ -64,7 +65,9 @@ It can be used as the type `T` in most instances and extracted as a `T` using There are five sub-categories of error covered by the error type variants: -- A request that did not conform to API requirements. This can occur when required builder or body parameters were not specified, and the error message will denote the specific failure. +- A request that did not conform to API requirements. This can occur when + required builder or body parameters were not specified, and the error message + will denote the specific failure. - A communication error diff --git a/progenitor-impl/src/lib.rs b/progenitor-impl/src/lib.rs index 4988210..cb47fc3 100644 --- a/progenitor-impl/src/lib.rs +++ b/progenitor-impl/src/lib.rs @@ -324,8 +324,6 @@ impl Generator { RequestBuilderExt, ResponseValue, }; - #[allow(unused_imports)] - use std::convert::TryInto; #(#builder_struct)* } diff --git a/progenitor-impl/src/method.rs b/progenitor-impl/src/method.rs index a8c1b62..1c6a3c9 100644 --- a/progenitor-impl/src/method.rs +++ b/progenitor-impl/src/method.rs @@ -1129,14 +1129,14 @@ impl Generator { /// ```ignore /// impl<'a> OperationId<'a> { /// pub fn param_1(self, value: V) - /// where V: TryInto + /// where V: std::convert::TryInto /// { /// self.param_1 = value.try_into() /// .map_err(|_| #err_msg.to_string()); /// self /// } /// pub fn param_2(self, value: V) - /// where V: TryInto + /// where V: std::convert::TryInto /// { /// self.param_2 = value.try_into() /// .map(Some) @@ -1264,7 +1264,7 @@ impl Generator { Ok(quote! { pub fn #param_name(mut self, value: V) -> Self - where V: TryInto<#typ> + where V: std::convert::TryInto<#typ> { self.#param_name = value.try_into() .map(Some) @@ -1277,7 +1277,7 @@ impl Generator { let typ = ty.ident(); Ok(quote! { pub fn #param_name(mut self, value: V) -> Self - where V: TryInto<#typ>, + where V: std::convert::TryInto<#typ>, { self.#param_name = value.try_into() .map_err(|_| #err_msg.to_string()); @@ -1294,7 +1294,7 @@ impl Generator { Ok(quote! { pub fn #param_name(mut self, value: B) -> Self - where B: TryInto + where B: std::convert::TryInto { self.#param_name = value.try_into() .map_err(|_| #err_msg.to_string()); diff --git a/progenitor-impl/tests/output/buildomat-builder-tagged.out b/progenitor-impl/tests/output/buildomat-builder-tagged.out index fe9815c..6212495 100644 --- a/progenitor-impl/tests/output/buildomat-builder-tagged.out +++ b/progenitor-impl/tests/output/buildomat-builder-tagged.out @@ -1574,7 +1574,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1647,7 +1647,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -1691,7 +1691,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1701,7 +1701,7 @@ pub mod builder { pub fn minseq(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.minseq = value .try_into() @@ -1757,7 +1757,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1805,7 +1805,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1815,7 +1815,7 @@ pub mod builder { pub fn output(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.output = value .try_into() @@ -1867,7 +1867,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -1936,7 +1936,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -2007,7 +2007,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2017,7 +2017,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -2066,7 +2066,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2076,7 +2076,7 @@ pub mod builder { pub fn body(mut self, value: B) -> Self where - B: TryInto, + B: std::convert::TryInto, { self.body = value .try_into() @@ -2133,7 +2133,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2143,7 +2143,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -2192,7 +2192,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2202,7 +2202,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() diff --git a/progenitor-impl/tests/output/buildomat-builder.out b/progenitor-impl/tests/output/buildomat-builder.out index e1d4c58..baa355e 100644 --- a/progenitor-impl/tests/output/buildomat-builder.out +++ b/progenitor-impl/tests/output/buildomat-builder.out @@ -1501,8 +1501,6 @@ pub mod builder { use super::types; #[allow(unused_imports)] use super::{encode_path, ByteStream, Error, RequestBuilderExt, ResponseValue}; - #[allow(unused_imports)] - use std::convert::TryInto; ///Builder for [`Client::control_hold`] /// ///[`Client::control_hold`]: super::Client::control_hold @@ -1576,7 +1574,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1649,7 +1647,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -1693,7 +1691,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1703,7 +1701,7 @@ pub mod builder { pub fn minseq(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.minseq = value .try_into() @@ -1759,7 +1757,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1807,7 +1805,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -1817,7 +1815,7 @@ pub mod builder { pub fn output(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.output = value .try_into() @@ -1869,7 +1867,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -1938,7 +1936,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -2009,7 +2007,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2019,7 +2017,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -2068,7 +2066,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2078,7 +2076,7 @@ pub mod builder { pub fn body(mut self, value: B) -> Self where - B: TryInto, + B: std::convert::TryInto, { self.body = value .try_into() @@ -2135,7 +2133,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2145,7 +2143,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -2194,7 +2192,7 @@ pub mod builder { pub fn task(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.task = value .try_into() @@ -2204,7 +2202,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() diff --git a/progenitor-impl/tests/output/keeper-builder-tagged.out b/progenitor-impl/tests/output/keeper-builder-tagged.out index 00f1772..def436d 100644 --- a/progenitor-impl/tests/output/keeper-builder-tagged.out +++ b/progenitor-impl/tests/output/keeper-builder-tagged.out @@ -849,7 +849,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -945,7 +945,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -987,7 +987,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -1029,7 +1029,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() diff --git a/progenitor-impl/tests/output/keeper-builder.out b/progenitor-impl/tests/output/keeper-builder.out index bb334b2..43dbe4f 100644 --- a/progenitor-impl/tests/output/keeper-builder.out +++ b/progenitor-impl/tests/output/keeper-builder.out @@ -830,8 +830,6 @@ pub mod builder { use super::types; #[allow(unused_imports)] use super::{encode_path, ByteStream, Error, RequestBuilderExt, ResponseValue}; - #[allow(unused_imports)] - use std::convert::TryInto; ///Builder for [`Client::enrol`] /// ///[`Client::enrol`]: super::Client::enrol @@ -851,7 +849,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -947,7 +945,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -989,7 +987,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -1031,7 +1029,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() diff --git a/progenitor-impl/tests/output/nexus-builder-tagged.out b/progenitor-impl/tests/output/nexus-builder-tagged.out index 5c4bfe1..2e79854 100644 --- a/progenitor-impl/tests/output/nexus-builder-tagged.out +++ b/progenitor-impl/tests/output/nexus-builder-tagged.out @@ -13693,7 +13693,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13745,7 +13745,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13797,7 +13797,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13849,7 +13849,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13902,7 +13902,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13956,7 +13956,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14008,7 +14008,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14060,7 +14060,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14112,7 +14112,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14164,7 +14164,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14216,7 +14216,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14268,7 +14268,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14320,7 +14320,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -14362,7 +14362,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -14410,7 +14410,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value.try_into().map_err(|_| { "conversion to `DeviceAccessTokenRequest` for body failed".to_string() @@ -14456,7 +14456,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -14466,7 +14466,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -14477,7 +14477,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() @@ -14591,7 +14591,7 @@ pub mod builder { pub fn rack_id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.rack_id = value .try_into() @@ -14647,7 +14647,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -14657,7 +14657,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -14668,7 +14668,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() @@ -14782,7 +14782,7 @@ pub mod builder { pub fn sled_id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sled_id = value .try_into() @@ -14838,7 +14838,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -14848,7 +14848,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -14859,7 +14859,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -14973,7 +14973,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15021,7 +15021,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -15073,7 +15073,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -15129,7 +15129,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -15139,7 +15139,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -15150,7 +15150,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -15264,7 +15264,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15312,7 +15312,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15366,7 +15366,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15376,7 +15376,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15433,7 +15433,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15489,7 +15489,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15499,7 +15499,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -15509,7 +15509,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -15626,7 +15626,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15636,7 +15636,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15695,7 +15695,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15705,7 +15705,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15762,7 +15762,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15806,7 +15806,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -15816,7 +15816,7 @@ pub mod builder { pub fn provider_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.provider_name = value .try_into() @@ -15872,7 +15872,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -15882,7 +15882,7 @@ pub mod builder { pub fn provider_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.provider_name = value .try_into() @@ -15892,7 +15892,7 @@ pub mod builder { pub fn body(mut self, value: B) -> Self where - B: TryInto, + B: std::convert::TryInto, { self.body = value .try_into() @@ -15985,7 +15985,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -15995,7 +15995,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -16006,7 +16006,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -16120,7 +16120,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16168,7 +16168,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16225,7 +16225,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16235,7 +16235,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16292,7 +16292,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16347,7 +16347,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16406,7 +16406,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16416,7 +16416,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16481,7 +16481,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16491,7 +16491,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -16501,7 +16501,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -16512,7 +16512,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -16636,7 +16636,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16646,7 +16646,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16706,7 +16706,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16716,7 +16716,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16779,7 +16779,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16789,7 +16789,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16799,7 +16799,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16862,7 +16862,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16872,7 +16872,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16939,7 +16939,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16949,7 +16949,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16959,7 +16959,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -16969,7 +16969,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -16980,7 +16980,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -17109,7 +17109,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17119,7 +17119,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17129,7 +17129,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -17194,7 +17194,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17204,7 +17204,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17214,7 +17214,7 @@ pub mod builder { pub fn disk_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.disk_name = value .try_into() @@ -17281,7 +17281,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17291,7 +17291,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17301,7 +17301,7 @@ pub mod builder { pub fn disk_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.disk_name = value .try_into() @@ -17378,7 +17378,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17388,7 +17388,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17398,7 +17398,7 @@ pub mod builder { pub fn disk_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.disk_name = value .try_into() @@ -17408,7 +17408,7 @@ pub mod builder { pub fn metric_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.metric_name = value .try_into() @@ -17418,7 +17418,7 @@ pub mod builder { pub fn end_time(mut self, value: V) -> Self where - V: TryInto>, + V: std::convert::TryInto>, { self . end_time = value . try_into () . map (Some) . map_err (| _ | "conversion to `Option < chrono :: DateTime < chrono :: offset :: Utc > >` for end_time failed" . to_string ()) ; self @@ -17426,7 +17426,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -17436,7 +17436,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -17447,7 +17447,7 @@ pub mod builder { pub fn start_time(mut self, value: V) -> Self where - V: TryInto>, + V: std::convert::TryInto>, { self . start_time = value . try_into () . map (Some) . map_err (| _ | "conversion to `Option < chrono :: DateTime < chrono :: offset :: Utc > >` for start_time failed" . to_string ()) ; self @@ -17592,7 +17592,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17602,7 +17602,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17612,7 +17612,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -17622,7 +17622,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -17633,7 +17633,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -17762,7 +17762,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17772,7 +17772,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17782,7 +17782,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -17847,7 +17847,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17857,7 +17857,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17867,7 +17867,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -17934,7 +17934,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17944,7 +17944,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17954,7 +17954,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -18025,7 +18025,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18035,7 +18035,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18045,7 +18045,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -18055,7 +18055,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -18066,7 +18066,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -18197,7 +18197,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18207,7 +18207,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18217,7 +18217,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -18283,7 +18283,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18293,7 +18293,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18303,7 +18303,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18370,7 +18370,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18380,7 +18380,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18390,7 +18390,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18463,7 +18463,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18473,7 +18473,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18483,7 +18483,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18493,7 +18493,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -18503,7 +18503,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -18514,7 +18514,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -18650,7 +18650,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18660,7 +18660,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18670,7 +18670,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18680,7 +18680,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -18751,7 +18751,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18761,7 +18761,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18771,7 +18771,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18781,7 +18781,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -18850,7 +18850,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18860,7 +18860,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18870,7 +18870,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18941,7 +18941,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18951,7 +18951,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18961,7 +18961,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18971,7 +18971,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -19046,7 +19046,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19056,7 +19056,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19066,7 +19066,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19076,7 +19076,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -19086,7 +19086,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -19097,7 +19097,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -19234,7 +19234,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19244,7 +19244,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19254,7 +19254,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19264,7 +19264,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -19337,7 +19337,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19347,7 +19347,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19357,7 +19357,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19367,7 +19367,7 @@ pub mod builder { pub fn interface_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.interface_name = value .try_into() @@ -19443,7 +19443,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19453,7 +19453,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19463,7 +19463,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19473,7 +19473,7 @@ pub mod builder { pub fn interface_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.interface_name = value .try_into() @@ -19483,7 +19483,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -19559,7 +19559,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19569,7 +19569,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19579,7 +19579,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19589,7 +19589,7 @@ pub mod builder { pub fn interface_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.interface_name = value .try_into() @@ -19659,7 +19659,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19669,7 +19669,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19679,7 +19679,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19752,7 +19752,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19762,7 +19762,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19772,7 +19772,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19782,7 +19782,7 @@ pub mod builder { pub fn from_start(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.from_start = value .try_into() @@ -19793,7 +19793,7 @@ pub mod builder { pub fn max_bytes(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.max_bytes = value .try_into() @@ -19804,7 +19804,7 @@ pub mod builder { pub fn most_recent(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.most_recent = value .try_into() @@ -19890,7 +19890,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19900,7 +19900,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19910,7 +19910,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19977,7 +19977,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19987,7 +19987,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19997,7 +19997,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -20062,7 +20062,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20072,7 +20072,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20137,7 +20137,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20147,7 +20147,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20157,7 +20157,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -20228,7 +20228,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20238,7 +20238,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20248,7 +20248,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -20258,7 +20258,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -20269,7 +20269,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -20400,7 +20400,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20410,7 +20410,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20420,7 +20420,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -20486,7 +20486,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20496,7 +20496,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20506,7 +20506,7 @@ pub mod builder { pub fn snapshot_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.snapshot_name = value .try_into() @@ -20573,7 +20573,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20583,7 +20583,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20593,7 +20593,7 @@ pub mod builder { pub fn snapshot_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.snapshot_name = value .try_into() @@ -20664,7 +20664,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20674,7 +20674,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20684,7 +20684,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -20694,7 +20694,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -20705,7 +20705,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -20834,7 +20834,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20844,7 +20844,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20854,7 +20854,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -20919,7 +20919,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20929,7 +20929,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20939,7 +20939,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21008,7 +21008,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21018,7 +21018,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21028,7 +21028,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21038,7 +21038,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -21107,7 +21107,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21117,7 +21117,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21127,7 +21127,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21194,7 +21194,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21204,7 +21204,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21214,7 +21214,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21285,7 +21285,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21295,7 +21295,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21305,7 +21305,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21315,7 +21315,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value.try_into().map_err(|_| { "conversion to `VpcFirewallRuleUpdateParams` for body failed".to_string() @@ -21392,7 +21392,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21402,7 +21402,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21412,7 +21412,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21422,7 +21422,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -21432,7 +21432,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -21443,7 +21443,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -21579,7 +21579,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21589,7 +21589,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21599,7 +21599,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21609,7 +21609,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -21680,7 +21680,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21690,7 +21690,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21700,7 +21700,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21710,7 +21710,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -21784,7 +21784,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21794,7 +21794,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21804,7 +21804,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21814,7 +21814,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -21824,7 +21824,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -21898,7 +21898,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21908,7 +21908,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21918,7 +21918,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21928,7 +21928,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22006,7 +22006,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22016,7 +22016,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22026,7 +22026,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22036,7 +22036,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22046,7 +22046,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -22056,7 +22056,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -22067,7 +22067,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -22208,7 +22208,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22218,7 +22218,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22228,7 +22228,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22238,7 +22238,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22248,7 +22248,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -22324,7 +22324,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22334,7 +22334,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22344,7 +22344,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22354,7 +22354,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22364,7 +22364,7 @@ pub mod builder { pub fn route_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.route_name = value .try_into() @@ -22443,7 +22443,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22453,7 +22453,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22463,7 +22463,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22473,7 +22473,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22483,7 +22483,7 @@ pub mod builder { pub fn route_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.route_name = value .try_into() @@ -22493,7 +22493,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -22572,7 +22572,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22582,7 +22582,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22592,7 +22592,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22602,7 +22602,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22612,7 +22612,7 @@ pub mod builder { pub fn route_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.route_name = value .try_into() @@ -22691,7 +22691,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22701,7 +22701,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22711,7 +22711,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22721,7 +22721,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -22731,7 +22731,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -22742,7 +22742,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -22878,7 +22878,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22888,7 +22888,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22898,7 +22898,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22908,7 +22908,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -22979,7 +22979,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22989,7 +22989,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22999,7 +22999,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -23009,7 +23009,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -23083,7 +23083,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -23093,7 +23093,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -23103,7 +23103,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -23113,7 +23113,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -23123,7 +23123,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -23197,7 +23197,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -23207,7 +23207,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -23217,7 +23217,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -23227,7 +23227,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -23305,7 +23305,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -23315,7 +23315,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -23325,7 +23325,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -23335,7 +23335,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -23345,7 +23345,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23355,7 +23355,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -23366,7 +23366,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -23535,7 +23535,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -23587,7 +23587,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23597,7 +23597,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -23706,7 +23706,7 @@ pub mod builder { pub fn role_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.role_name = value .try_into() @@ -23762,7 +23762,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23772,7 +23772,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -23783,7 +23783,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() @@ -23897,7 +23897,7 @@ pub mod builder { pub fn saga_id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.saga_id = value .try_into() @@ -23986,7 +23986,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23996,7 +23996,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -24007,7 +24007,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -24121,7 +24121,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -24169,7 +24169,7 @@ pub mod builder { pub fn ssh_key_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.ssh_key_name = value .try_into() @@ -24224,7 +24224,7 @@ pub mod builder { pub fn ssh_key_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.ssh_key_name = value .try_into() @@ -24283,7 +24283,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -24293,7 +24293,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -24304,7 +24304,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -24418,7 +24418,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -24466,7 +24466,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24518,7 +24518,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24576,7 +24576,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24586,7 +24586,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -24596,7 +24596,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -24607,7 +24607,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -24728,7 +24728,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24784,7 +24784,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24794,7 +24794,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -24855,7 +24855,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24865,7 +24865,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value.try_into().map_err(|_| { "conversion to `SamlIdentityProviderCreate` for body failed".to_string() @@ -24927,7 +24927,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24937,7 +24937,7 @@ pub mod builder { pub fn provider_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.provider_name = value .try_into() @@ -25002,7 +25002,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -25012,7 +25012,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -25023,7 +25023,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -25137,7 +25137,7 @@ pub mod builder { pub fn user_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.user_name = value .try_into() @@ -25191,7 +25191,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -25201,7 +25201,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -25348,7 +25348,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -25358,7 +25358,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -25369,7 +25369,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() diff --git a/progenitor-impl/tests/output/nexus-builder.out b/progenitor-impl/tests/output/nexus-builder.out index e1cb1e2..d601a94 100644 --- a/progenitor-impl/tests/output/nexus-builder.out +++ b/progenitor-impl/tests/output/nexus-builder.out @@ -13494,8 +13494,6 @@ pub mod builder { use super::types; #[allow(unused_imports)] use super::{encode_path, ByteStream, Error, RequestBuilderExt, ResponseValue}; - #[allow(unused_imports)] - use std::convert::TryInto; ///Builder for [`Client::disk_view_by_id`] /// ///[`Client::disk_view_by_id`]: super::Client::disk_view_by_id @@ -13515,7 +13513,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13567,7 +13565,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13619,7 +13617,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13671,7 +13669,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13723,7 +13721,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13777,7 +13775,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13829,7 +13827,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13881,7 +13879,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13933,7 +13931,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -13985,7 +13983,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14037,7 +14035,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14089,7 +14087,7 @@ pub mod builder { pub fn id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.id = value .try_into() @@ -14141,7 +14139,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -14183,7 +14181,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -14231,7 +14229,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value.try_into().map_err(|_| { "conversion to `DeviceAccessTokenRequest` for body failed".to_string() @@ -14277,7 +14275,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -14287,7 +14285,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -14298,7 +14296,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() @@ -14412,7 +14410,7 @@ pub mod builder { pub fn rack_id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.rack_id = value .try_into() @@ -14468,7 +14466,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -14478,7 +14476,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -14489,7 +14487,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() @@ -14603,7 +14601,7 @@ pub mod builder { pub fn sled_id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sled_id = value .try_into() @@ -14659,7 +14657,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -14669,7 +14667,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -14680,7 +14678,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -14794,7 +14792,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -14842,7 +14840,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -14894,7 +14892,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -14950,7 +14948,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -14960,7 +14958,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -14971,7 +14969,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -15085,7 +15083,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15133,7 +15131,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15187,7 +15185,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15197,7 +15195,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15254,7 +15252,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15310,7 +15308,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15320,7 +15318,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -15330,7 +15328,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -15447,7 +15445,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15457,7 +15455,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15516,7 +15514,7 @@ pub mod builder { pub fn pool_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.pool_name = value .try_into() @@ -15526,7 +15524,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15583,7 +15581,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15627,7 +15625,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -15637,7 +15635,7 @@ pub mod builder { pub fn provider_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.provider_name = value .try_into() @@ -15693,7 +15691,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -15703,7 +15701,7 @@ pub mod builder { pub fn provider_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.provider_name = value .try_into() @@ -15713,7 +15711,7 @@ pub mod builder { pub fn body(mut self, value: B) -> Self where - B: TryInto, + B: std::convert::TryInto, { self.body = value .try_into() @@ -15806,7 +15804,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -15816,7 +15814,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -15827,7 +15825,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -15941,7 +15939,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -15989,7 +15987,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16046,7 +16044,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16056,7 +16054,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16113,7 +16111,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16168,7 +16166,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16227,7 +16225,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16237,7 +16235,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16302,7 +16300,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16312,7 +16310,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -16322,7 +16320,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -16333,7 +16331,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -16457,7 +16455,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16467,7 +16465,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16527,7 +16525,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16537,7 +16535,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16600,7 +16598,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16610,7 +16608,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16620,7 +16618,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -16683,7 +16681,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16693,7 +16691,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16760,7 +16758,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16770,7 +16768,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16780,7 +16778,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -16790,7 +16788,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -16801,7 +16799,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -16930,7 +16928,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -16940,7 +16938,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -16950,7 +16948,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -17015,7 +17013,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17025,7 +17023,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17035,7 +17033,7 @@ pub mod builder { pub fn disk_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.disk_name = value .try_into() @@ -17102,7 +17100,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17112,7 +17110,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17122,7 +17120,7 @@ pub mod builder { pub fn disk_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.disk_name = value .try_into() @@ -17199,7 +17197,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17209,7 +17207,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17219,7 +17217,7 @@ pub mod builder { pub fn disk_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.disk_name = value .try_into() @@ -17229,7 +17227,7 @@ pub mod builder { pub fn metric_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.metric_name = value .try_into() @@ -17239,7 +17237,7 @@ pub mod builder { pub fn end_time(mut self, value: V) -> Self where - V: TryInto>, + V: std::convert::TryInto>, { self . end_time = value . try_into () . map (Some) . map_err (| _ | "conversion to `Option < chrono :: DateTime < chrono :: offset :: Utc > >` for end_time failed" . to_string ()) ; self @@ -17247,7 +17245,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -17257,7 +17255,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -17268,7 +17266,7 @@ pub mod builder { pub fn start_time(mut self, value: V) -> Self where - V: TryInto>, + V: std::convert::TryInto>, { self . start_time = value . try_into () . map (Some) . map_err (| _ | "conversion to `Option < chrono :: DateTime < chrono :: offset :: Utc > >` for start_time failed" . to_string ()) ; self @@ -17413,7 +17411,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17423,7 +17421,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17433,7 +17431,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -17443,7 +17441,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -17454,7 +17452,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -17583,7 +17581,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17593,7 +17591,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17603,7 +17601,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -17668,7 +17666,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17678,7 +17676,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17688,7 +17686,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -17755,7 +17753,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17765,7 +17763,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17775,7 +17773,7 @@ pub mod builder { pub fn image_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.image_name = value .try_into() @@ -17846,7 +17844,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -17856,7 +17854,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -17866,7 +17864,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -17876,7 +17874,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -17887,7 +17885,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -18018,7 +18016,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18028,7 +18026,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18038,7 +18036,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -18104,7 +18102,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18114,7 +18112,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18124,7 +18122,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18191,7 +18189,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18201,7 +18199,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18211,7 +18209,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18284,7 +18282,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18294,7 +18292,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18304,7 +18302,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18314,7 +18312,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -18324,7 +18322,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -18335,7 +18333,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -18471,7 +18469,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18481,7 +18479,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18491,7 +18489,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18501,7 +18499,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -18572,7 +18570,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18582,7 +18580,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18592,7 +18590,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18602,7 +18600,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -18671,7 +18669,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18681,7 +18679,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18691,7 +18689,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18762,7 +18760,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18772,7 +18770,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18782,7 +18780,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18792,7 +18790,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -18867,7 +18865,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -18877,7 +18875,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -18887,7 +18885,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -18897,7 +18895,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -18907,7 +18905,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -18918,7 +18916,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -19055,7 +19053,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19065,7 +19063,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19075,7 +19073,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19085,7 +19083,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -19158,7 +19156,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19168,7 +19166,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19178,7 +19176,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19188,7 +19186,7 @@ pub mod builder { pub fn interface_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.interface_name = value .try_into() @@ -19264,7 +19262,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19274,7 +19272,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19284,7 +19282,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19294,7 +19292,7 @@ pub mod builder { pub fn interface_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.interface_name = value .try_into() @@ -19304,7 +19302,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -19380,7 +19378,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19390,7 +19388,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19400,7 +19398,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19410,7 +19408,7 @@ pub mod builder { pub fn interface_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.interface_name = value .try_into() @@ -19480,7 +19478,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19490,7 +19488,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19500,7 +19498,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19573,7 +19571,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19583,7 +19581,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19593,7 +19591,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19603,7 +19601,7 @@ pub mod builder { pub fn from_start(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.from_start = value .try_into() @@ -19614,7 +19612,7 @@ pub mod builder { pub fn max_bytes(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.max_bytes = value .try_into() @@ -19625,7 +19623,7 @@ pub mod builder { pub fn most_recent(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.most_recent = value .try_into() @@ -19711,7 +19709,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19721,7 +19719,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19731,7 +19729,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19798,7 +19796,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19808,7 +19806,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19818,7 +19816,7 @@ pub mod builder { pub fn instance_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.instance_name = value .try_into() @@ -19883,7 +19881,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19893,7 +19891,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19958,7 +19956,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -19968,7 +19966,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -19978,7 +19976,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -20049,7 +20047,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20059,7 +20057,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20069,7 +20067,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -20079,7 +20077,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -20090,7 +20088,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -20221,7 +20219,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20231,7 +20229,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20241,7 +20239,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -20307,7 +20305,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20317,7 +20315,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20327,7 +20325,7 @@ pub mod builder { pub fn snapshot_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.snapshot_name = value .try_into() @@ -20394,7 +20392,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20404,7 +20402,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20414,7 +20412,7 @@ pub mod builder { pub fn snapshot_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.snapshot_name = value .try_into() @@ -20485,7 +20483,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20495,7 +20493,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20505,7 +20503,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -20515,7 +20513,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -20526,7 +20524,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -20655,7 +20653,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20665,7 +20663,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20675,7 +20673,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -20740,7 +20738,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20750,7 +20748,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20760,7 +20758,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -20829,7 +20827,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20839,7 +20837,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20849,7 +20847,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -20859,7 +20857,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -20928,7 +20926,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -20938,7 +20936,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -20948,7 +20946,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21015,7 +21013,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21025,7 +21023,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21035,7 +21033,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21106,7 +21104,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21116,7 +21114,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21126,7 +21124,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21136,7 +21134,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value.try_into().map_err(|_| { "conversion to `VpcFirewallRuleUpdateParams` for body failed".to_string() @@ -21213,7 +21211,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21223,7 +21221,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21233,7 +21231,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21243,7 +21241,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -21253,7 +21251,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -21264,7 +21262,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -21400,7 +21398,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21410,7 +21408,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21420,7 +21418,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21430,7 +21428,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -21501,7 +21499,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21511,7 +21509,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21521,7 +21519,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21531,7 +21529,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -21605,7 +21603,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21615,7 +21613,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21625,7 +21623,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21635,7 +21633,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -21645,7 +21643,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -21719,7 +21717,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21729,7 +21727,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21739,7 +21737,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21749,7 +21747,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -21827,7 +21825,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -21837,7 +21835,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -21847,7 +21845,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -21857,7 +21855,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -21867,7 +21865,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -21877,7 +21875,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -21888,7 +21886,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -22029,7 +22027,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22039,7 +22037,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22049,7 +22047,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22059,7 +22057,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22069,7 +22067,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -22145,7 +22143,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22155,7 +22153,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22165,7 +22163,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22175,7 +22173,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22185,7 +22183,7 @@ pub mod builder { pub fn route_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.route_name = value .try_into() @@ -22264,7 +22262,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22274,7 +22272,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22284,7 +22282,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22294,7 +22292,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22304,7 +22302,7 @@ pub mod builder { pub fn route_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.route_name = value .try_into() @@ -22314,7 +22312,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -22393,7 +22391,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22403,7 +22401,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22413,7 +22411,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22423,7 +22421,7 @@ pub mod builder { pub fn router_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.router_name = value .try_into() @@ -22433,7 +22431,7 @@ pub mod builder { pub fn route_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.route_name = value .try_into() @@ -22512,7 +22510,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22522,7 +22520,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22532,7 +22530,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22542,7 +22540,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -22552,7 +22550,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -22563,7 +22561,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -22699,7 +22697,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22709,7 +22707,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22719,7 +22717,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22729,7 +22727,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -22800,7 +22798,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22810,7 +22808,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22820,7 +22818,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22830,7 +22828,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -22904,7 +22902,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -22914,7 +22912,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -22924,7 +22922,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -22934,7 +22932,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -22944,7 +22942,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -23018,7 +23016,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -23028,7 +23026,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -23038,7 +23036,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -23048,7 +23046,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -23126,7 +23124,7 @@ pub mod builder { pub fn organization_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.organization_name = value .try_into() @@ -23136,7 +23134,7 @@ pub mod builder { pub fn project_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.project_name = value .try_into() @@ -23146,7 +23144,7 @@ pub mod builder { pub fn vpc_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.vpc_name = value .try_into() @@ -23156,7 +23154,7 @@ pub mod builder { pub fn subnet_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.subnet_name = value .try_into() @@ -23166,7 +23164,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23176,7 +23174,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -23187,7 +23185,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -23356,7 +23354,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -23408,7 +23406,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23418,7 +23416,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -23527,7 +23525,7 @@ pub mod builder { pub fn role_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.role_name = value .try_into() @@ -23583,7 +23581,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23593,7 +23591,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -23604,7 +23602,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() @@ -23718,7 +23716,7 @@ pub mod builder { pub fn saga_id(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.saga_id = value .try_into() @@ -23807,7 +23805,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -23817,7 +23815,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -23828,7 +23826,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -23942,7 +23940,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -23990,7 +23988,7 @@ pub mod builder { pub fn ssh_key_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.ssh_key_name = value .try_into() @@ -24045,7 +24043,7 @@ pub mod builder { pub fn ssh_key_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.ssh_key_name = value .try_into() @@ -24104,7 +24102,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -24114,7 +24112,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -24125,7 +24123,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameOrIdSortMode >` for sort_by failed".to_string() @@ -24239,7 +24237,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -24287,7 +24285,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24339,7 +24337,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24397,7 +24395,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24407,7 +24405,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -24417,7 +24415,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -24428,7 +24426,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -24549,7 +24547,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24605,7 +24603,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24615,7 +24613,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into() @@ -24676,7 +24674,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24686,7 +24684,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value.try_into().map_err(|_| { "conversion to `SamlIdentityProviderCreate` for body failed".to_string() @@ -24748,7 +24746,7 @@ pub mod builder { pub fn silo_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.silo_name = value .try_into() @@ -24758,7 +24756,7 @@ pub mod builder { pub fn provider_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.provider_name = value .try_into() @@ -24823,7 +24821,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -24833,7 +24831,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -24844,7 +24842,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < NameSortMode >` for sort_by failed".to_string() @@ -24958,7 +24956,7 @@ pub mod builder { pub fn user_name(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.user_name = value .try_into() @@ -25012,7 +25010,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -25022,7 +25020,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -25169,7 +25167,7 @@ pub mod builder { pub fn limit(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.limit = value.try_into().map(Some).map_err(|_| { "conversion to `Option < std :: num :: NonZeroU32 >` for limit failed".to_string() @@ -25179,7 +25177,7 @@ pub mod builder { pub fn page_token(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.page_token = value .try_into() @@ -25190,7 +25188,7 @@ pub mod builder { pub fn sort_by(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.sort_by = value.try_into().map(Some).map_err(|_| { "conversion to `Option < IdSortMode >` for sort_by failed".to_string() diff --git a/progenitor-impl/tests/output/test_default_params_builder.out b/progenitor-impl/tests/output/test_default_params_builder.out index cc576a9..de628a4 100644 --- a/progenitor-impl/tests/output/test_default_params_builder.out +++ b/progenitor-impl/tests/output/test_default_params_builder.out @@ -237,8 +237,6 @@ pub mod builder { use super::types; #[allow(unused_imports)] use super::{encode_path, ByteStream, Error, RequestBuilderExt, ResponseValue}; - #[allow(unused_imports)] - use std::convert::TryInto; ///Builder for [`Client::default_params`] /// ///[`Client::default_params`]: super::Client::default_params @@ -258,7 +256,7 @@ pub mod builder { pub fn body(mut self, value: V) -> Self where - V: TryInto, + V: std::convert::TryInto, { self.body = value .try_into()