Struct juniper::meta::Field [] [src]

pub struct Field<'a> { /* fields omitted */ }

Metadata for a field

Methods

impl<'a> Field<'a>
[src]

Set the description of the field

This overwrites the description if any was previously set.

Add an argument to the field

Arguments are unordered and can't contain duplicates by name.

Set the deprecation reason

This overwrites the deprecation reason if any was previously set.

Trait Implementations

impl<'a> GraphQLType for Field<'a>
[src]

The expected context type for this GraphQL type Read more

The name of the GraphQL type to expose. Read more

The meta type representing this GraphQL type.

Return the concrete type name for this instance/union. Read more

Resolve the value of a single field on this type. Read more

Resolve this interface or union into a concrete type Read more

Resolve the provided selection set against the current object. Read more

impl<'a> Debug for Field<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for Field<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more