pub struct FragmentDefinition {
pub loc: Option<Location>,
pub name: Name,
pub variable_definitions: Option<Vec<VariableDefinition>>,
pub type_condition: NamedType,
pub directives: Option<Vec<Directive>>,
pub selection_set: SelectionSet,
}
Fields§
§loc: Option<Location>
§name: Name
§variable_definitions: Option<Vec<VariableDefinition>>
§type_condition: NamedType
§directives: Option<Vec<Directive>>
§selection_set: SelectionSet
Trait Implementations§
Source§impl Debug for FragmentDefinition
impl Debug for FragmentDefinition
Source§impl<'de> Deserialize<'de> for FragmentDefinition
impl<'de> Deserialize<'de> for FragmentDefinition
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 FragmentDefinition
impl PartialEq for FragmentDefinition
Source§impl Serialize for FragmentDefinition
impl Serialize for FragmentDefinition
impl StructuralPartialEq for FragmentDefinition
Auto Trait Implementations§
impl Freeze for FragmentDefinition
impl RefUnwindSafe for FragmentDefinition
impl Send for FragmentDefinition
impl Sync for FragmentDefinition
impl Unpin for FragmentDefinition
impl UnwindSafe for FragmentDefinition
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