Struct graphql_parser::schema::ScalarType [−][src]
pub struct ScalarType<'a, T: Text<'a>> {
pub position: Pos,
pub description: Option<String>,
pub name: T::Value,
pub directives: Vec<Directive<'a, T>>,
}
Fields
position: Pos
description: Option<String>
name: T::Value
directives: Vec<Directive<'a, T>>
Implementations
Trait Implementations
impl<'a, T: PartialEq + Text<'a>> PartialEq<ScalarType<'a, T>> for ScalarType<'a, T> where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq<ScalarType<'a, T>> for ScalarType<'a, T> where
T::Value: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for ScalarType<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for ScalarType<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for ScalarType<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for ScalarType<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for ScalarType<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more