pub enum RequestBodySensitivity {
Public,
Sensitive,
}Expand description
Whether a prepared request body contains caller-designated sensitive data.
Variants§
Public
The body has no provider-declared confidential fields.
Sensitive
The body contains confidential material and requires digest fingerprints.
Implementations§
Source§impl RequestBodySensitivity
impl RequestBodySensitivity
Sourcepub const fn requires_digest(self) -> bool
pub const fn requires_digest(self) -> bool
Reports whether exact canonical fingerprint retention is forbidden.
Trait Implementations§
Source§impl Clone for RequestBodySensitivity
impl Clone for RequestBodySensitivity
Source§fn clone(&self) -> RequestBodySensitivity
fn clone(&self) -> RequestBodySensitivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestBodySensitivity
Source§impl Debug for RequestBodySensitivity
impl Debug for RequestBodySensitivity
impl Eq for RequestBodySensitivity
Source§impl Hash for RequestBodySensitivity
impl Hash for RequestBodySensitivity
Source§impl Ord for RequestBodySensitivity
impl Ord for RequestBodySensitivity
Source§fn cmp(&self, other: &RequestBodySensitivity) -> Ordering
fn cmp(&self, other: &RequestBodySensitivity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RequestBodySensitivity
impl PartialEq for RequestBodySensitivity
Source§impl PartialOrd for RequestBodySensitivity
impl PartialOrd for RequestBodySensitivity
impl StructuralPartialEq for RequestBodySensitivity
Auto Trait Implementations§
impl Freeze for RequestBodySensitivity
impl RefUnwindSafe for RequestBodySensitivity
impl Send for RequestBodySensitivity
impl Sync for RequestBodySensitivity
impl Unpin for RequestBodySensitivity
impl UnsafeUnpin for RequestBodySensitivity
impl UnwindSafe for RequestBodySensitivity
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