Struct aws_sdk_apigateway::input::CreateModelInput
source · [−]#[non_exhaustive]pub struct CreateModelInput { /* private fields */ }Expand description
Request to add a new Model to an existing RestApi resource.
Implementations
sourceimpl CreateModelInput
impl CreateModelInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateModel, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateModel, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateModel>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateModelInput.
sourceimpl CreateModelInput
impl CreateModelInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The RestApi identifier under which the Model will be created.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the model.
sourcepub fn schema(&self) -> Option<&str>
pub fn schema(&self) -> Option<&str>
The schema for the model. For application/json models, this should be JSON schema draft 4 model.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
The content-type for the model.
Trait Implementations
sourceimpl Clone for CreateModelInput
impl Clone for CreateModelInput
sourcefn clone(&self) -> CreateModelInput
fn clone(&self) -> CreateModelInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CreateModelInput
impl Debug for CreateModelInput
sourceimpl PartialEq<CreateModelInput> for CreateModelInput
impl PartialEq<CreateModelInput> for CreateModelInput
sourcefn eq(&self, other: &CreateModelInput) -> bool
fn eq(&self, other: &CreateModelInput) -> bool
impl StructuralPartialEq for CreateModelInput
Auto Trait Implementations
impl RefUnwindSafe for CreateModelInput
impl Send for CreateModelInput
impl Sync for CreateModelInput
impl Unpin for CreateModelInput
impl UnwindSafe for CreateModelInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more