Struct aws_sdk_apigatewayv2::operation::import_api::ImportApiInput
source · #[non_exhaustive]pub struct ImportApiInput {
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.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 ImportApiInput
impl ImportApiInput
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 ImportApiInput
impl ImportApiInput
sourcepub fn builder() -> ImportApiInputBuilder
pub fn builder() -> ImportApiInputBuilder
Creates a new builder-style object to manufacture ImportApiInput
.
Trait Implementations§
source§impl Clone for ImportApiInput
impl Clone for ImportApiInput
source§fn clone(&self) -> ImportApiInput
fn clone(&self) -> ImportApiInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportApiInput
impl Debug for ImportApiInput
source§impl PartialEq for ImportApiInput
impl PartialEq for ImportApiInput
source§fn eq(&self, other: &ImportApiInput) -> bool
fn eq(&self, other: &ImportApiInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportApiInput
Auto Trait Implementations§
impl Freeze for ImportApiInput
impl RefUnwindSafe for ImportApiInput
impl Send for ImportApiInput
impl Sync for ImportApiInput
impl Unpin for ImportApiInput
impl UnwindSafe for ImportApiInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more