Struct dynamic_graphql::dynamic::SchemaError  
source · pub struct SchemaError(pub String);Expand description
An error can occur when building dynamic schema
Tuple Fields§
§0: StringTrait Implementations§
source§impl Debug for SchemaError
 
impl Debug for SchemaError
source§impl Display for SchemaError
 
impl Display for SchemaError
source§impl Error for SchemaError
 
impl Error for SchemaError
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<T> From<T> for SchemaErrorwhere
    T: Into<String>,
 
impl<T> From<T> for SchemaErrorwhere
    T: Into<String>,
source§fn from(err: T) -> SchemaError
 
fn from(err: T) -> SchemaError
Converts to this type from the input type.
source§impl PartialEq<SchemaError> for SchemaError
 
impl PartialEq<SchemaError> for SchemaError
source§fn eq(&self, other: &SchemaError) -> bool
 
fn eq(&self, other: &SchemaError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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§
source§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,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.