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

pub struct Field { /* fields omitted */ }

Metadata for a field

Methods

impl Field
[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 GraphQLType<SchemaType> for Field
[src]

The name of the GraphQL type to expose. Read more

The meta type representing this GraphQL type.

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

Resolve this interface or union into a concrete type Read more

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

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

impl IntoFieldResult<Field> for Field
[src]

Wrap self in a Result Read more

impl Debug for Field
[src]

Formats the value using the given formatter.

impl Clone for Field
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more