pub enum AdversarialKind {
MalformedJson,
UnknownFields,
MissingRequiredFields,
OversizedResponse,
InvalidPagination,
InvalidActionState,
}Expand description
Adversarial response category.
Variants§
MalformedJson
Syntactically malformed JSON.
UnknownFields
Valid JSON containing an additive unknown field.
MissingRequiredFields
Valid JSON missing required fields.
OversizedResponse
Response one byte larger than the common admitted ceiling.
InvalidPagination
Structurally invalid pagination values.
InvalidActionState
Unknown action lifecycle state.
Trait Implementations§
Source§impl Clone for AdversarialKind
impl Clone for AdversarialKind
Source§fn clone(&self) -> AdversarialKind
fn clone(&self) -> AdversarialKind
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 AdversarialKind
Source§impl Debug for AdversarialKind
impl Debug for AdversarialKind
impl Eq for AdversarialKind
Source§impl Hash for AdversarialKind
impl Hash for AdversarialKind
Source§impl Ord for AdversarialKind
impl Ord for AdversarialKind
Source§fn cmp(&self, other: &AdversarialKind) -> Ordering
fn cmp(&self, other: &AdversarialKind) -> 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 AdversarialKind
impl PartialEq for AdversarialKind
Source§impl PartialOrd for AdversarialKind
impl PartialOrd for AdversarialKind
impl StructuralPartialEq for AdversarialKind
Auto Trait Implementations§
impl Freeze for AdversarialKind
impl RefUnwindSafe for AdversarialKind
impl Send for AdversarialKind
impl Sync for AdversarialKind
impl Unpin for AdversarialKind
impl UnsafeUnpin for AdversarialKind
impl UnwindSafe for AdversarialKind
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