Struct graphql_client::Location
source · pub struct Location {
pub line: i32,
pub column: i32,
}
Expand description
Represents a location inside a query string. Used in errors. See Error
.
Fields§
§line: i32
The line number in the query string where the error originated (starting from 1).
column: i32
The column number in the query string where the error originated (starting from 1).
Trait Implementations§
source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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