pub enum McpValidationScope {
Form,
Field,
Element,
Filter,
}Expand description
Where a generated MCP validation issue applies.
Variants§
Form
The whole form failed validation without a precise field.
Field
A field-level validator failed.
Element
A validator for one item inside a collection field failed.
Filter
A table filter argument failed validation.
Implementations§
Trait Implementations§
Source§impl Clone for McpValidationScope
impl Clone for McpValidationScope
impl Copy for McpValidationScope
Source§impl Debug for McpValidationScope
impl Debug for McpValidationScope
impl Eq for McpValidationScope
Source§impl<'_derivative_strum> From<&'_derivative_strum McpValidationScope> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum McpValidationScope> for &'static str
Source§fn from(x: &'_derivative_strum McpValidationScope) -> &'static str
fn from(x: &'_derivative_strum McpValidationScope) -> &'static str
Converts to this type from the input type.
Source§impl From<McpValidationScope> for &'static str
impl From<McpValidationScope> for &'static str
Source§fn from(x: McpValidationScope) -> &'static str
fn from(x: McpValidationScope) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for McpValidationScope
impl PartialEq for McpValidationScope
impl StructuralPartialEq for McpValidationScope
Auto Trait Implementations§
impl Freeze for McpValidationScope
impl RefUnwindSafe for McpValidationScope
impl Send for McpValidationScope
impl Sync for McpValidationScope
impl Unpin for McpValidationScope
impl UnsafeUnpin for McpValidationScope
impl UnwindSafe for McpValidationScope
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.