[][src]Struct rusoto_apigateway::CreateModelRequest

pub struct CreateModelRequest {
    pub content_type: String,
    pub description: Option<String>,
    pub name: String,
    pub rest_api_id: String,
    pub schema: Option<String>,
}

Request to add a new Model to an existing RestApi resource.

Fields

content_type: String

[Required] The content-type for the model.

description: Option<String>

The description of the model.

name: String

[Required] The name of the model. Must be alphanumeric.

rest_api_id: String

[Required] The RestApi identifier under which the Model will be created.

schema: Option<String>

The schema for the model. For application/json models, this should be JSON schema draft 4 model.

Trait Implementations

impl Clone for CreateModelRequest[src]

impl Debug for CreateModelRequest[src]

impl Default for CreateModelRequest[src]

impl PartialEq<CreateModelRequest> for CreateModelRequest[src]

impl Serialize for CreateModelRequest[src]

impl StructuralPartialEq for CreateModelRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.