Enum graphql_client::PathFragment[][src]

pub enum PathFragment {
    Key(String),
    Index(i32),
}

Part of a path in a query. It can be an object key or an array index. See GraphQLError.

Variants

A key inside an object

An index inside an array

Trait Implementations

impl Debug for PathFragment
[src]

Formats the value using the given formatter. Read more

impl PartialEq for PathFragment
[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