Trait graphql_parser::schema::Text
source · pub trait Text<'a>: 'a {
type Value: 'a + From<&'a str> + AsRef<str> + Borrow<str> + PartialEq + Eq + PartialOrd + Ord + Debug + Clone + Hash;
}
Expand description
Text abstracts over types that hold a string value. It is used to make the AST generic over the string type.
Required Associated Types§
type Value: 'a + From<&'a str> + AsRef<str> + Borrow<str> + PartialEq + Eq + PartialOrd + Ord + Debug + Clone + Hash
Object Safety§
This trait is not object safe.