pub enum DataConnectErrorPathSegment {
Field(String),
Index(i64),
}Expand description
A single entry in the path array from a GraphQL error response.
Variants§
Trait Implementations§
Source§impl Clone for DataConnectErrorPathSegment
impl Clone for DataConnectErrorPathSegment
Source§fn clone(&self) -> DataConnectErrorPathSegment
fn clone(&self) -> DataConnectErrorPathSegment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataConnectErrorPathSegment
impl Debug for DataConnectErrorPathSegment
Source§impl<'de> Deserialize<'de> for DataConnectErrorPathSegment
impl<'de> Deserialize<'de> for DataConnectErrorPathSegment
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 StructuralPartialEq for DataConnectErrorPathSegment
Auto Trait Implementations§
impl Freeze for DataConnectErrorPathSegment
impl RefUnwindSafe for DataConnectErrorPathSegment
impl Send for DataConnectErrorPathSegment
impl Sync for DataConnectErrorPathSegment
impl Unpin for DataConnectErrorPathSegment
impl UnwindSafe for DataConnectErrorPathSegment
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