[][src]Struct rusoto_apigateway::RequestValidator

pub struct RequestValidator {
    pub id: Option<String>,
    pub name: Option<String>,
    pub validate_request_body: Option<bool>,
    pub validate_request_parameters: Option<bool>,
}

A set of validation rules for incoming Method requests.

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Fields

id: Option<String>

The identifier of this RequestValidator.

name: Option<String>

The name of this RequestValidator

validate_request_body: Option<bool>

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

validate_request_parameters: Option<bool>

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

Trait Implementations

impl Clone for RequestValidator[src]

impl Debug for RequestValidator[src]

impl Default for RequestValidator[src]

impl<'de> Deserialize<'de> for RequestValidator[src]

impl PartialEq<RequestValidator> for RequestValidator[src]

impl StructuralPartialEq for RequestValidator[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> 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> Sealed<T> for T where
    T: ?Sized

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.