#[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
httpChecksumtrait whereresponseAlgorithmsis 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
requestValidationModeMembermember 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 duplicate 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
Source§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 Storable for ResponseChecksumValidation
impl Storable for ResponseChecksumValidation
Source§type Storer = StoreReplace<ResponseChecksumValidation>
type Storer = StoreReplace<ResponseChecksumValidation>
Specify how an item is stored in the config bag, e.g.
StoreReplace and StoreAppendimpl 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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.