#[non_exhaustive]pub enum ResponseChecksumValidation {
WhenSupported,
WhenRequired,
}
Expand description
Determines when checksum validation will be performed on response payloads. Values are:
- ResponseChecksumValidation::WhenSupported - (default) When set, checksum validation is performed on all
response payloads of operations modeled with the
httpChecksum
trait whereresponseAlgorithms
is modeled, except when no modeled checksum algorithms are supported. - ResponseChecksumValidation::WhenRequired - When set, checksum validation is not performed on
response payloads of operations unless the checksum algorithm is supported and
the
requestValidationModeMember
member is set toENABLED
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WhenSupported
Validate response checksums when they are supported.
WhenRequired
Validate response checksums only when they are required.
Trait Implementations§
source§impl Clone for ResponseChecksumValidation
impl Clone for ResponseChecksumValidation
source§fn clone(&self) -> ResponseChecksumValidation
fn clone(&self) -> ResponseChecksumValidation
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 ResponseChecksumValidation
impl Debug for ResponseChecksumValidation
source§impl Default for ResponseChecksumValidation
impl Default for ResponseChecksumValidation
source§fn default() -> ResponseChecksumValidation
fn default() -> ResponseChecksumValidation
Returns the “default value” for a type. Read more
source§impl FromStr for ResponseChecksumValidation
impl FromStr for ResponseChecksumValidation
§type Err = UnknownResponseChecksumValidationError
type Err = UnknownResponseChecksumValidationError
The associated error which can be returned from parsing.
source§fn from_str(
response_checksum_validation: &str,
) -> Result<ResponseChecksumValidation, <ResponseChecksumValidation as FromStr>::Err>
fn from_str( response_checksum_validation: &str, ) -> Result<ResponseChecksumValidation, <ResponseChecksumValidation as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moresource§impl PartialEq for ResponseChecksumValidation
impl PartialEq for ResponseChecksumValidation
source§fn eq(&self, other: &ResponseChecksumValidation) -> bool
fn eq(&self, other: &ResponseChecksumValidation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Storable for ResponseChecksumValidation
impl Storable for ResponseChecksumValidation
§type Storer = StoreReplace<ResponseChecksumValidation>
type Storer = StoreReplace<ResponseChecksumValidation>
Specify how an item is stored in the config bag, e.g.
StoreReplace
and StoreAppend
impl Copy for ResponseChecksumValidation
impl Eq for ResponseChecksumValidation
impl StructuralPartialEq for ResponseChecksumValidation
Auto Trait Implementations§
impl Freeze for ResponseChecksumValidation
impl RefUnwindSafe for ResponseChecksumValidation
impl Send for ResponseChecksumValidation
impl Sync for ResponseChecksumValidation
impl Unpin for ResponseChecksumValidation
impl UnwindSafe for ResponseChecksumValidation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.