pub struct IntermediateFragmentFieldDef {
pub name: String,
pub alias: Option<String>,
pub fields: Option<Vec<IntermediateFragmentField>>,
pub spread: Option<String>,
pub directives: Option<Vec<IntermediateAppliedDirective>>,
}Expand description
Complex fragment field definition with optional alias, directives, and nested fields.
Fields§
§name: StringField name (source field in the type)
alias: Option<String>Output alias (optional, per GraphQL spec §2.13)
fields: Option<Vec<IntermediateFragmentField>>Nested field selections (for object fields)
spread: Option<String>Fragment spread (e.g., “…UserFields”)
directives: Option<Vec<IntermediateAppliedDirective>>Applied directives (e.g., @skip, @include)
Trait Implementations§
Source§impl Clone for IntermediateFragmentFieldDef
impl Clone for IntermediateFragmentFieldDef
Source§fn clone(&self) -> IntermediateFragmentFieldDef
fn clone(&self) -> IntermediateFragmentFieldDef
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 IntermediateFragmentFieldDef
impl Debug for IntermediateFragmentFieldDef
Source§impl<'de> Deserialize<'de> for IntermediateFragmentFieldDef
impl<'de> Deserialize<'de> for IntermediateFragmentFieldDef
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
Source§impl PartialEq for IntermediateFragmentFieldDef
impl PartialEq for IntermediateFragmentFieldDef
Source§fn eq(&self, other: &IntermediateFragmentFieldDef) -> bool
fn eq(&self, other: &IntermediateFragmentFieldDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IntermediateFragmentFieldDef
impl StructuralPartialEq for IntermediateFragmentFieldDef
Auto Trait Implementations§
impl Freeze for IntermediateFragmentFieldDef
impl RefUnwindSafe for IntermediateFragmentFieldDef
impl Send for IntermediateFragmentFieldDef
impl Sync for IntermediateFragmentFieldDef
impl Unpin for IntermediateFragmentFieldDef
impl UnwindSafe for IntermediateFragmentFieldDef
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> 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.