Struct juniper::meta::ScalarMeta
[−]
[src]
pub struct ScalarMeta { // some fields omitted }
Scalar type metadata
Methods
impl ScalarMeta
[src]
fn new<T: FromInputValue>(name: &str) -> ScalarMeta
Build a new scalar type metadata with the specified name
fn description(self, description: &str) -> ScalarMeta
Set the description for the given scalar type
If a description already was set prior to calling this method, it will be overwritten.
fn into_meta(self) -> MetaType
Wrap the scalar in a generic meta type