Struct aws_sdk_apigateway::operation::create_documentation_part::CreateDocumentationPartInput
source · #[non_exhaustive]pub struct CreateDocumentationPartInput {
pub rest_api_id: Option<String>,
pub location: Option<DocumentationPartLocation>,
pub properties: Option<String>,
}Expand description
Creates a new documentation part of a given API.
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.rest_api_id: Option<String>The string identifier of the associated RestApi.
location: Option<DocumentationPartLocation>The location of the targeted API entity of the to-be-created documentation part.
properties: Option<String>The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
Implementations§
source§impl CreateDocumentationPartInput
impl CreateDocumentationPartInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The string identifier of the associated RestApi.
sourcepub fn location(&self) -> Option<&DocumentationPartLocation>
pub fn location(&self) -> Option<&DocumentationPartLocation>
The location of the targeted API entity of the to-be-created documentation part.
sourcepub fn properties(&self) -> Option<&str>
pub fn properties(&self) -> Option<&str>
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
source§impl CreateDocumentationPartInput
impl CreateDocumentationPartInput
sourcepub fn builder() -> CreateDocumentationPartInputBuilder
pub fn builder() -> CreateDocumentationPartInputBuilder
Creates a new builder-style object to manufacture CreateDocumentationPartInput.
Trait Implementations§
source§impl Clone for CreateDocumentationPartInput
impl Clone for CreateDocumentationPartInput
source§fn clone(&self) -> CreateDocumentationPartInput
fn clone(&self) -> CreateDocumentationPartInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDocumentationPartInput
impl Debug for CreateDocumentationPartInput
source§impl PartialEq for CreateDocumentationPartInput
impl PartialEq for CreateDocumentationPartInput
source§fn eq(&self, other: &CreateDocumentationPartInput) -> bool
fn eq(&self, other: &CreateDocumentationPartInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDocumentationPartInput
Auto Trait Implementations§
impl Freeze for CreateDocumentationPartInput
impl RefUnwindSafe for CreateDocumentationPartInput
impl Send for CreateDocumentationPartInput
impl Sync for CreateDocumentationPartInput
impl Unpin for CreateDocumentationPartInput
impl UnwindSafe for CreateDocumentationPartInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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