#[non_exhaustive]pub struct ReimportApiInput {
pub api_id: Option<String>,
pub basepath: Option<String>,
pub body: Option<String>,
pub fail_on_warnings: Option<bool>,
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.api_id: Option<String>
The API identifier.
basepath: Option<String>
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
body: Option<String>
The OpenAPI definition. Supported only for HTTP APIs.
fail_on_warnings: Option<bool>
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
Implementations§
source§impl ReimportApiInput
impl ReimportApiInput
sourcepub fn basepath(&self) -> Option<&str>
pub fn basepath(&self) -> Option<&str>
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
sourcepub fn fail_on_warnings(&self) -> Option<bool>
pub fn fail_on_warnings(&self) -> Option<bool>
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
source§impl ReimportApiInput
impl ReimportApiInput
sourcepub fn builder() -> ReimportApiInputBuilder
pub fn builder() -> ReimportApiInputBuilder
Creates a new builder-style object to manufacture ReimportApiInput
.
Trait Implementations§
source§impl Clone for ReimportApiInput
impl Clone for ReimportApiInput
source§fn clone(&self) -> ReimportApiInput
fn clone(&self) -> ReimportApiInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReimportApiInput
impl Debug for ReimportApiInput
source§impl PartialEq for ReimportApiInput
impl PartialEq for ReimportApiInput
source§fn eq(&self, other: &ReimportApiInput) -> bool
fn eq(&self, other: &ReimportApiInput) -> bool
self
and other
values to be equal, and is used
by ==
.