pub enum GraphqlPathSegment {
Field(String),
Index(u64),
}Expand description
A response field or zero-based list index in an execution error path.
Variants§
Trait Implementations§
Source§impl Clone for GraphqlPathSegment
impl Clone for GraphqlPathSegment
Source§impl Debug for GraphqlPathSegment
impl Debug for GraphqlPathSegment
Source§impl<'de> Deserialize<'de> for GraphqlPathSegment
impl<'de> Deserialize<'de> for GraphqlPathSegment
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 GraphqlPathSegment
Source§impl PartialEq for GraphqlPathSegment
impl PartialEq for GraphqlPathSegment
Source§impl Serialize for GraphqlPathSegment
impl Serialize for GraphqlPathSegment
impl StructuralPartialEq for GraphqlPathSegment
Auto Trait Implementations§
impl Freeze for GraphqlPathSegment
impl RefUnwindSafe for GraphqlPathSegment
impl Send for GraphqlPathSegment
impl Sync for GraphqlPathSegment
impl Unpin for GraphqlPathSegment
impl UnsafeUnpin for GraphqlPathSegment
impl UnwindSafe for GraphqlPathSegment
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,
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.