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 ==.