Struct async_graphql::dynamic::SchemaError
source · pub struct SchemaError(pub String);
Available on crate feature
dynamic-schema
only.Expand description
An error can occur when building dynamic schema
Tuple Fields
0: String
Trait Implementations
sourceimpl Debug for SchemaError
impl Debug for SchemaError
sourceimpl Display for SchemaError
impl Display for SchemaError
sourceimpl Error for SchemaError
impl Error for SchemaError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl<T: Into<String>> From<T> for SchemaError
impl<T: Into<String>> From<T> for SchemaError
sourceimpl PartialEq<SchemaError> for SchemaError
impl PartialEq<SchemaError> for SchemaError
sourcefn eq(&self, other: &SchemaError) -> bool
fn eq(&self, other: &SchemaError) -> bool
impl Eq for SchemaError
impl StructuralEq for SchemaError
impl StructuralPartialEq for SchemaError
Auto Trait Implementations
impl RefUnwindSafe for SchemaError
impl Send for SchemaError
impl Sync for SchemaError
impl Unpin for SchemaError
impl UnwindSafe for SchemaError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.