pub enum GraphQlPathSegment {
Field(Box<str>),
Index(i32),
}Expand description
Segment of a GraphQL document.
Variants§
Trait Implementations§
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
Auto Trait Implementations§
impl Freeze for GraphQlPathSegment
impl RefUnwindSafe for GraphQlPathSegment
impl Send for GraphQlPathSegment
impl Sync for GraphQlPathSegment
impl Unpin 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