#[non_exhaustive]pub enum RequestChecksumCalculation {
WhenSupported,
WhenRequired,
}
Expand description
Determines when a checksum will be calculated for request payloads. Values are:
- RequestChecksumCalculation::WhenSupported - (default) When set, a checksum will be
calculated for all request payloads of operations modeled with the
httpChecksum
trait whererequestChecksumRequired
istrue
and/or arequestAlgorithmMember
is modeled. - RequestChecksumCalculation::WhenRequired - When set, a checksum will only be calculated for
request payloads of operations modeled with the
httpChecksum
trait whererequestChecksumRequired
istrue
or where a requestAlgorithmMember is modeled and supplied.
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
Calculate request checksums when they are supported.
WhenRequired
Caulculate request checksums only when they are required.
Trait Implementations§
source§impl Clone for RequestChecksumCalculation
impl Clone for RequestChecksumCalculation
source§fn clone(&self) -> RequestChecksumCalculation
fn clone(&self) -> RequestChecksumCalculation
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 RequestChecksumCalculation
impl Debug for RequestChecksumCalculation
source§impl Default for RequestChecksumCalculation
impl Default for RequestChecksumCalculation
source§fn default() -> RequestChecksumCalculation
fn default() -> RequestChecksumCalculation
Returns the “default value” for a type. Read more
source§impl FromStr for RequestChecksumCalculation
impl FromStr for RequestChecksumCalculation
§type Err = UnknownRequestChecksumCalculationError
type Err = UnknownRequestChecksumCalculationError
The associated error which can be returned from parsing.
source§fn from_str(
request_checksum_calculation: &str,
) -> Result<RequestChecksumCalculation, <RequestChecksumCalculation as FromStr>::Err>
fn from_str( request_checksum_calculation: &str, ) -> Result<RequestChecksumCalculation, <RequestChecksumCalculation as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moresource§impl PartialEq for RequestChecksumCalculation
impl PartialEq for RequestChecksumCalculation
source§fn eq(&self, other: &RequestChecksumCalculation) -> bool
fn eq(&self, other: &RequestChecksumCalculation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Storable for RequestChecksumCalculation
impl Storable for RequestChecksumCalculation
§type Storer = StoreReplace<RequestChecksumCalculation>
type Storer = StoreReplace<RequestChecksumCalculation>
Specify how an item is stored in the config bag, e.g.
StoreReplace
and StoreAppend
impl Copy for RequestChecksumCalculation
impl Eq for RequestChecksumCalculation
impl StructuralPartialEq for RequestChecksumCalculation
Auto Trait Implementations§
impl Freeze for RequestChecksumCalculation
impl RefUnwindSafe for RequestChecksumCalculation
impl Send for RequestChecksumCalculation
impl Sync for RequestChecksumCalculation
impl Unpin for RequestChecksumCalculation
impl UnwindSafe for RequestChecksumCalculation
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.