#[non_exhaustive]pub struct CreateRequestValidatorOutput { /* private fields */ }Expand description
A set of validation rules for incoming Method requests.
Implementations§
source§impl CreateRequestValidatorOutput
impl CreateRequestValidatorOutput
sourcepub fn validate_request_body(&self) -> bool
pub fn validate_request_body(&self) -> bool
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
sourcepub fn validate_request_parameters(&self) -> bool
pub fn validate_request_parameters(&self) -> bool
A Boolean flag to indicate whether to validate request parameters (true) or not (false).
source§impl CreateRequestValidatorOutput
impl CreateRequestValidatorOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateRequestValidatorOutput.
Trait Implementations§
source§impl Clone for CreateRequestValidatorOutput
impl Clone for CreateRequestValidatorOutput
source§fn clone(&self) -> CreateRequestValidatorOutput
fn clone(&self) -> CreateRequestValidatorOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateRequestValidatorOutput
impl Debug for CreateRequestValidatorOutput
source§impl PartialEq<CreateRequestValidatorOutput> for CreateRequestValidatorOutput
impl PartialEq<CreateRequestValidatorOutput> for CreateRequestValidatorOutput
source§fn eq(&self, other: &CreateRequestValidatorOutput) -> bool
fn eq(&self, other: &CreateRequestValidatorOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.