pub struct GraphqlError { /* private fields */ }Expand description
One error entry in a GraphQL-spec response envelope.
Implementations§
Source§impl GraphqlError
impl GraphqlError
pub fn get_message(&self) -> &String
Trait Implementations§
Source§impl Clone for GraphqlError
impl Clone for GraphqlError
Source§impl Debug for GraphqlError
impl Debug for GraphqlError
Source§impl<'de> Deserialize<'de> for GraphqlError
impl<'de> Deserialize<'de> for GraphqlError
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
impl Eq for GraphqlError
Source§impl PartialEq for GraphqlError
impl PartialEq for GraphqlError
Source§impl Serialize for GraphqlError
impl Serialize for GraphqlError
impl StructuralPartialEq for GraphqlError
Auto Trait Implementations§
impl Forget for GraphqlError
impl Freeze for GraphqlError
impl Move for GraphqlError
impl RefUnwindSafe for GraphqlError
impl Send for GraphqlErrorwhere
RawVecInner: Send,
impl Sync for GraphqlErrorwhere
RawVecInner: Sync,
impl Unpin for GraphqlError
impl UnsafeUnpin for GraphqlError
impl UnwindSafe for GraphqlErrorwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.