pub enum GraphqlLiteralKind {
Null,
Boolean,
Integer,
Float,
String,
Enum,
List,
Object,
Variable,
}Expand description
Non-sensitive structural category of a GraphQL literal.
Variants§
Null
Null literal.
Boolean
Boolean literal.
Integer
Integer literal.
Float
Floating-point literal.
String
String literal without its contents.
Enum
Enum literal without its member name.
List
List literal without its members.
Object
Object literal without its fields or values.
Variable
Variable reference without its name.
Trait Implementations§
Source§impl Clone for GraphqlLiteralKind
impl Clone for GraphqlLiteralKind
Source§fn clone(&self) -> GraphqlLiteralKind
fn clone(&self) -> GraphqlLiteralKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GraphqlLiteralKind
Source§impl Debug for GraphqlLiteralKind
impl Debug for GraphqlLiteralKind
Source§impl<'de> Deserialize<'de> for GraphqlLiteralKind
impl<'de> Deserialize<'de> for GraphqlLiteralKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GraphqlLiteralKind
Source§impl Hash for GraphqlLiteralKind
impl Hash for GraphqlLiteralKind
Source§impl Ord for GraphqlLiteralKind
impl Ord for GraphqlLiteralKind
Source§fn cmp(&self, other: &GraphqlLiteralKind) -> Ordering
fn cmp(&self, other: &GraphqlLiteralKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GraphqlLiteralKind
impl PartialEq for GraphqlLiteralKind
Source§impl PartialOrd for GraphqlLiteralKind
impl PartialOrd for GraphqlLiteralKind
Source§impl Serialize for GraphqlLiteralKind
impl Serialize for GraphqlLiteralKind
impl StructuralPartialEq for GraphqlLiteralKind
Auto Trait Implementations§
impl Freeze for GraphqlLiteralKind
impl RefUnwindSafe for GraphqlLiteralKind
impl Send for GraphqlLiteralKind
impl Sync for GraphqlLiteralKind
impl Unpin for GraphqlLiteralKind
impl UnsafeUnpin for GraphqlLiteralKind
impl UnwindSafe for GraphqlLiteralKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.