Struct juniper::meta::ScalarMeta
[−]
[src]
pub struct ScalarMeta<'a> { /* fields omitted */ }
Scalar type metadata
Methods
impl<'a> ScalarMeta<'a>
[src]
fn new<T: FromInputValue>(name: Cow<'a, str>) -> ScalarMeta<'a>
[src]
Build a new scalar type metadata with the specified name
fn description(self, description: &str) -> ScalarMeta<'a>
[src]
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<'a>
[src]
Wrap the scalar in a generic meta type