Struct async_graphql_parser::types::FragmentSpread
source · [−]pub struct FragmentSpread {
pub fragment_name: Positioned<Name>,
pub directives: Vec<Positioned<Directive>>,
}
Expand description
A fragment selector, such as ... userFields
.
Fields
fragment_name: Positioned<Name>
The name of the fragment being selected.
directives: Vec<Positioned<Directive>>
The directives in the fragment selector.
Trait Implementations
sourceimpl Clone for FragmentSpread
impl Clone for FragmentSpread
sourcefn clone(&self) -> FragmentSpread
fn clone(&self) -> FragmentSpread
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FragmentSpread
impl Debug for FragmentSpread
sourceimpl<'de> Deserialize<'de> for FragmentSpread
impl<'de> Deserialize<'de> for FragmentSpread
sourcefn 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
sourceimpl Serialize for FragmentSpread
impl Serialize for FragmentSpread
Auto Trait Implementations
impl RefUnwindSafe for FragmentSpread
impl Send for FragmentSpread
impl Sync for FragmentSpread
impl Unpin for FragmentSpread
impl UnwindSafe for FragmentSpread
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more