Struct juniper::meta::ScalarMeta [−][src]
pub struct ScalarMeta<'a, S> { /* fields omitted */ }
Expand description
Scalar type metadata
Implementations
pub fn new<T>(name: Cow<'a, str>) -> Self where
T: FromInputValue<S> + ParseScalarValue<S> + 'a,
[src]
pub fn new<T>(name: Cow<'a, str>) -> Self where
T: FromInputValue<S> + ParseScalarValue<S> + '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.
Trait Implementations
Auto Trait Implementations
impl<'a, S> RefUnwindSafe for ScalarMeta<'a, S>
impl<'a, S> Send for ScalarMeta<'a, S>
impl<'a, S> Sync for ScalarMeta<'a, S>
impl<'a, S> Unpin for ScalarMeta<'a, S>
impl<'a, S> UnwindSafe for ScalarMeta<'a, S>