Struct graphql_client::Location[][src]

pub struct Location {
    pub line: i32,
    pub column: i32,
}

Represents a location inside a query string. Used in errors. See GraphQLError.

Fields

The line number in the query string where the error originated (starting from 1).

The column number in the query string where the error originated (starting from 1).

Trait Implementations

impl Debug for Location
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Location
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Location

impl Sync for Location