Trait graphql_starter::graphql::GraphQLMapEntry
source · pub trait GraphQLMapEntry {
type Key: Eq + Hash;
type Item;
// Required methods
fn new(key: Self::Key, value: Self::Item) -> Self;
fn into_parts(self) -> (Self::Key, Self::Item);
}
Expand description
Entry for a GraphQLMap
Required Associated Types§
Required Methods§
fn new(key: Self::Key, value: Self::Item) -> Self
fn into_parts(self) -> (Self::Key, Self::Item)
Object Safety§
This trait is not object safe.