pub enum ValidationRecordKind {
ValidationSucceeded,
ValidationFailed,
SchemaRejected,
TerminalFailure,
}Expand description
Enumerates the finite validation record kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
ValidationSucceeded
Use this variant when the contract needs to represent validation succeeded; selecting it has no side effect by itself.
ValidationFailed
Use this variant when the contract needs to represent validation failed; selecting it has no side effect by itself.
SchemaRejected
Use this variant when the contract needs to represent schema rejected; selecting it has no side effect by itself.
TerminalFailure
Use this variant when the contract needs to represent terminal failure; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ValidationRecordKind
impl Clone for ValidationRecordKind
Source§fn clone(&self) -> ValidationRecordKind
fn clone(&self) -> ValidationRecordKind
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 ValidationRecordKind
impl Debug for ValidationRecordKind
Source§impl<'de> Deserialize<'de> for ValidationRecordKind
impl<'de> Deserialize<'de> for ValidationRecordKind
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 ValidationRecordKind
impl PartialEq for ValidationRecordKind
Source§fn eq(&self, other: &ValidationRecordKind) -> bool
fn eq(&self, other: &ValidationRecordKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValidationRecordKind
impl Serialize for ValidationRecordKind
impl Eq for ValidationRecordKind
impl StructuralPartialEq for ValidationRecordKind
Auto Trait Implementations§
impl Freeze for ValidationRecordKind
impl RefUnwindSafe for ValidationRecordKind
impl Send for ValidationRecordKind
impl Sync for ValidationRecordKind
impl Unpin for ValidationRecordKind
impl UnsafeUnpin for ValidationRecordKind
impl UnwindSafe for ValidationRecordKind
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