pub struct GraphqlError {
pub message: String,
}Expand description
A single GraphQL error entry, matching the spec shape.
Fields§
§message: StringHuman-readable error message.
Trait Implementations§
Source§impl Clone for GraphqlError
impl Clone for GraphqlError
Source§fn clone(&self) -> GraphqlError
fn clone(&self) -> GraphqlError
Returns a duplicate 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 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
Source§impl From<IndexerError> for GraphqlError
impl From<IndexerError> for GraphqlError
Source§fn from(e: IndexerError) -> Self
fn from(e: IndexerError) -> Self
Converts to this type from the input type.
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 Freeze for GraphqlError
impl RefUnwindSafe for GraphqlError
impl Send for GraphqlError
impl Sync for GraphqlError
impl Unpin for GraphqlError
impl UnsafeUnpin for GraphqlError
impl UnwindSafe for GraphqlError
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