Struct async_graphql_parser::types::SelectionSet
source · [−]pub struct SelectionSet {
pub items: Vec<Positioned<Selection>>,
}
Expand description
A set of fields to be selected, for example { name age }
.
Fields
items: Vec<Positioned<Selection>>
The fields to be selected.
Trait Implementations
sourceimpl Clone for SelectionSet
impl Clone for SelectionSet
sourcefn clone(&self) -> SelectionSet
fn clone(&self) -> SelectionSet
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 SelectionSet
impl Debug for SelectionSet
sourceimpl Default for SelectionSet
impl Default for SelectionSet
sourcefn default() -> SelectionSet
fn default() -> SelectionSet
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SelectionSet
impl<'de> Deserialize<'de> for SelectionSet
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 SelectionSet
impl Serialize for SelectionSet
Auto Trait Implementations
impl RefUnwindSafe for SelectionSet
impl Send for SelectionSet
impl Sync for SelectionSet
impl Unpin for SelectionSet
impl UnwindSafe for SelectionSet
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