pub enum ValidationFailureVisibility {
RedactedSummary,
ErrorCodesOnly,
}Expand description
Enumerates the finite validation failure visibility cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
RedactedSummary
Use this variant when the contract needs to represent redacted summary; selecting it has no side effect by itself.
ErrorCodesOnly
Only stable validation error codes should be exposed. Selecting this variant is data-only and does not publish or persist errors.
Trait Implementations§
Source§impl Clone for ValidationFailureVisibility
impl Clone for ValidationFailureVisibility
Source§fn clone(&self) -> ValidationFailureVisibility
fn clone(&self) -> ValidationFailureVisibility
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 moreSource§impl Debug for ValidationFailureVisibility
impl Debug for ValidationFailureVisibility
Source§impl<'de> Deserialize<'de> for ValidationFailureVisibility
impl<'de> Deserialize<'de> for ValidationFailureVisibility
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ValidationFailureVisibility
impl PartialEq for ValidationFailureVisibility
Source§fn eq(&self, other: &ValidationFailureVisibility) -> bool
fn eq(&self, other: &ValidationFailureVisibility) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ValidationFailureVisibility
impl StructuralPartialEq for ValidationFailureVisibility
Auto Trait Implementations§
impl Freeze for ValidationFailureVisibility
impl RefUnwindSafe for ValidationFailureVisibility
impl Send for ValidationFailureVisibility
impl Sync for ValidationFailureVisibility
impl Unpin for ValidationFailureVisibility
impl UnsafeUnpin for ValidationFailureVisibility
impl UnwindSafe for ValidationFailureVisibility
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