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

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

Metadata for a field

Methods

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

[src]

Set the description of the field

This overwrites the description if any was previously set.

[src]

Add an argument to the field

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

[src]

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

Type that may carry additional schema information Read more

[src]

The name of the GraphQL type to expose. Read more

[src]

The meta type representing this GraphQL type.

[src]

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

[src]

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

[src]

Resolve this interface or union into a concrete type Read more

[src]

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

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

[src]

Formats the value using the given formatter.

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more