pub enum QueryArgumentsError {
MissingArguments(Vec<String>),
UnusedArguments(Vec<String>),
ArgumentTypeError(String, String, FieldValue),
MultipleErrors(DisplayVec<QueryArgumentsError>),
}
Variants§
MissingArguments(Vec<String>)
UnusedArguments(Vec<String>)
ArgumentTypeError(String, String, FieldValue)
MultipleErrors(DisplayVec<QueryArgumentsError>)
Trait Implementations§
source§impl Clone for QueryArgumentsError
impl Clone for QueryArgumentsError
source§fn clone(&self) -> QueryArgumentsError
fn clone(&self) -> QueryArgumentsError
Returns a copy of the value. Read more
1.0.0 · 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 QueryArgumentsError
impl Debug for QueryArgumentsError
source§impl<'de> Deserialize<'de> for QueryArgumentsError
impl<'de> Deserialize<'de> for QueryArgumentsError
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 Display for QueryArgumentsError
impl Display for QueryArgumentsError
source§impl Error for QueryArgumentsError
impl Error for QueryArgumentsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Vec<QueryArgumentsError>> for QueryArgumentsError
impl From<Vec<QueryArgumentsError>> for QueryArgumentsError
source§fn from(v: Vec<QueryArgumentsError>) -> Self
fn from(v: Vec<QueryArgumentsError>) -> Self
Converts to this type from the input type.
source§impl PartialEq for QueryArgumentsError
impl PartialEq for QueryArgumentsError
source§fn eq(&self, other: &QueryArgumentsError) -> bool
fn eq(&self, other: &QueryArgumentsError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for QueryArgumentsError
impl Serialize for QueryArgumentsError
impl Eq for QueryArgumentsError
impl StructuralEq for QueryArgumentsError
impl StructuralPartialEq for QueryArgumentsError
Auto Trait Implementations§
impl RefUnwindSafe for QueryArgumentsError
impl Send for QueryArgumentsError
impl Sync for QueryArgumentsError
impl Unpin for QueryArgumentsError
impl UnwindSafe for QueryArgumentsError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.