Struct cynic::GraphQlErrorLocation
source · pub struct GraphQlErrorLocation {
pub line: i32,
pub column: i32,
}
Expand description
A line and column offset describing the location of an error within a GraphQL document.
Fields§
§line: i32
The line at which the associated error begins.
column: i32
The column of the line at which the associated error begins.
Trait Implementations§
source§impl Clone for GraphQlErrorLocation
impl Clone for GraphQlErrorLocation
source§fn clone(&self) -> GraphQlErrorLocation
fn clone(&self) -> GraphQlErrorLocation
Returns a copy 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 GraphQlErrorLocation
impl Debug for GraphQlErrorLocation
source§impl<'de> Deserialize<'de> for GraphQlErrorLocation
impl<'de> Deserialize<'de> for GraphQlErrorLocation
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 PartialEq<GraphQlErrorLocation> for GraphQlErrorLocation
impl PartialEq<GraphQlErrorLocation> for GraphQlErrorLocation
source§fn eq(&self, other: &GraphQlErrorLocation) -> bool
fn eq(&self, other: &GraphQlErrorLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GraphQlErrorLocation
impl StructuralEq for GraphQlErrorLocation
impl StructuralPartialEq for GraphQlErrorLocation
Auto Trait Implementations§
impl RefUnwindSafe for GraphQlErrorLocation
impl Send for GraphQlErrorLocation
impl Sync for GraphQlErrorLocation
impl Unpin for GraphQlErrorLocation
impl UnwindSafe for GraphQlErrorLocation
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.