Enum trustfall_core::frontend::error::FilterTypeError
source · #[non_exhaustive]pub enum FilterTypeError {
IncompatibleVariableTypeRequirements(String, String, String),
NonNullableTypeFilteredForNullability(String, String, String, bool),
TypeMismatchBetweenTagAndFilter(String, String, String, String, String, String),
OrderingFilterOperationOnNonOrderableField(String, String, String),
OrderingFilterOperationOnNonOrderableTag(String, String, String, String),
StringFilterOperationOnNonStringField(String, String, String),
StringFilterOperationOnNonStringTag(String, String, String, String),
ListFilterOperationOnNonListField(String, String, String),
ListFilterOperationOnNonListTag(String, String, String, String),
}
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.
IncompatibleVariableTypeRequirements(String, String, String)
NonNullableTypeFilteredForNullability(String, String, String, bool)
TypeMismatchBetweenTagAndFilter(String, String, String, String, String, String)
OrderingFilterOperationOnNonOrderableField(String, String, String)
OrderingFilterOperationOnNonOrderableTag(String, String, String, String)
StringFilterOperationOnNonStringField(String, String, String)
StringFilterOperationOnNonStringTag(String, String, String, String)
ListFilterOperationOnNonListField(String, String, String)
ListFilterOperationOnNonListTag(String, String, String, String)
Trait Implementations§
source§impl Clone for FilterTypeError
impl Clone for FilterTypeError
source§fn clone(&self) -> FilterTypeError
fn clone(&self) -> FilterTypeError
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 FilterTypeError
impl Debug for FilterTypeError
source§impl<'de> Deserialize<'de> for FilterTypeError
impl<'de> Deserialize<'de> for FilterTypeError
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 FilterTypeError
impl Display for FilterTypeError
source§impl Error for FilterTypeError
impl Error for FilterTypeError
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<FilterTypeError> for FrontendError
impl From<FilterTypeError> for FrontendError
source§fn from(source: FilterTypeError) -> Self
fn from(source: FilterTypeError) -> Self
Converts to this type from the input type.
source§impl PartialEq for FilterTypeError
impl PartialEq for FilterTypeError
source§fn eq(&self, other: &FilterTypeError) -> bool
fn eq(&self, other: &FilterTypeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FilterTypeError
impl Serialize for FilterTypeError
impl Eq for FilterTypeError
impl StructuralEq for FilterTypeError
impl StructuralPartialEq for FilterTypeError
Auto Trait Implementations§
impl RefUnwindSafe for FilterTypeError
impl Send for FilterTypeError
impl Sync for FilterTypeError
impl Unpin for FilterTypeError
impl UnwindSafe for FilterTypeError
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.