Struct cynic::GraphQlError [−][src]
pub struct GraphQlError { pub message: String, pub locations: Option<Vec<GraphQlErrorLocation>>, pub path: Option<Vec<GraphQlErrorPathSegment>>, pub extensions: Option<Value>, }
A model describing an error which has taken place during execution.
Fields
message: String
A description of the error which has taken place.
locations: Option<Vec<GraphQlErrorLocation>>
Optional description of the locations where the errors have taken place.
path: Option<Vec<GraphQlErrorPathSegment>>
Optional path to the response field which experienced the associated error.
extensions: Option<Value>
Optional arbitrary JSON data describing the error in more detail.
Implementations
impl GraphQlError
[src]
impl GraphQlError
[src]Trait Implementations
impl Clone for GraphQlError
[src]
impl Clone for GraphQlError
[src]fn clone(&self) -> GraphQlError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for GraphQlError
[src]
impl<'de> Deserialize<'de> for GraphQlError
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for GraphQlError
[src]
impl Eq for GraphQlError
[src]impl Error for GraphQlError
[src]
impl Error for GraphQlError
[src]impl PartialEq<GraphQlError> for GraphQlError
[src]
impl PartialEq<GraphQlError> for GraphQlError
[src]fn eq(&self, other: &GraphQlError) -> bool
[src]
fn ne(&self, other: &GraphQlError) -> bool
[src]
impl StructuralEq for GraphQlError
[src]
impl StructuralEq for GraphQlError
[src]impl StructuralPartialEq for GraphQlError
[src]
impl StructuralPartialEq for GraphQlError
[src]Auto Trait Implementations
impl RefUnwindSafe for GraphQlError
impl RefUnwindSafe for GraphQlError
impl Send for GraphQlError
impl Send for GraphQlError
impl Sync for GraphQlError
impl Sync for GraphQlError
impl Unpin for GraphQlError
impl Unpin for GraphQlError
impl UnwindSafe for GraphQlError
impl UnwindSafe for GraphQlError
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T, U> FlattenInto<U> for T where
U: FlattenFrom<T>,
[src]
impl<T, U> FlattenInto<U> for T where
U: FlattenFrom<T>,
[src]pub fn flatten_into(Self) -> U
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,