pub struct IntValue(/* private fields */);
Expand description
An integer value
The GraphQl Int scalar is an i32, however the GraphQl language doesn’t impose specific limits on integers. Currently cynic-parser represents an IntValue as an i64, but we hide this fact behind a newtype to allow us to change the internal representaiton later if we need to.
Implementations§
Trait Implementations§
Source§impl Ord for IntValue
impl Ord for IntValue
Source§impl PartialOrd for IntValue
impl PartialOrd for IntValue
impl Copy for IntValue
impl Eq for IntValue
impl StructuralPartialEq for IntValue
Auto Trait Implementations§
impl Freeze for IntValue
impl RefUnwindSafe for IntValue
impl Send for IntValue
impl Sync for IntValue
impl Unpin for IntValue
impl UnwindSafe for IntValue
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
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
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.