Struct rusoto_apigateway::RequestValidator [−][src]
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 Swagger, 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 Default for RequestValidator
[src]
impl Default for RequestValidator
fn default() -> RequestValidator
[src]
fn default() -> RequestValidator
Returns the "default value" for a type. Read more
impl Debug for RequestValidator
[src]
impl Debug for RequestValidator
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for RequestValidator
[src]
impl Clone for RequestValidator
fn clone(&self) -> RequestValidator
[src]
fn clone(&self) -> RequestValidator
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for RequestValidator
[src]
impl PartialEq for RequestValidator
fn eq(&self, other: &RequestValidator) -> bool
[src]
fn eq(&self, other: &RequestValidator) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RequestValidator) -> bool
[src]
fn ne(&self, other: &RequestValidator) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for RequestValidator
impl Send for RequestValidator
impl Sync for RequestValidator
impl Sync for RequestValidator