#[non_exhaustive]pub enum Problem {
UnknownField(String),
UnknownCollection(String),
UnknownParameter(String),
UnknownFunction(String),
}Expand description
Something wrong with an expression.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownField(String)
A field the schema does not have.
UnknownCollection(String)
A collection the schema does not have.
UnknownParameter(String)
A parameter the schema does not have.
UnknownFunction(String)
A function that is neither built in nor declared.
Trait Implementations§
impl Eq for Problem
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problem
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