Struct juniper::meta::ScalarMeta [] [src]

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

Scalar type metadata

Methods

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

Build a new scalar type metadata with the specified name

Set the description for the given scalar type

If a description already was set prior to calling this method, it will be overwritten.

Wrap the scalar in a generic meta type

Trait Implementations

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

Formats the value using the given formatter.