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§
Source§impl AstPositionExt for SelectionSet
impl AstPositionExt for SelectionSet
Source§fn default_position(self) -> Positioned<Self>
fn default_position(self) -> Positioned<Self>
Create a positioned version of this AST node with the default position (0:0).
Source§fn with_position(self, pos: Pos) -> Positioned<Self>
fn with_position(self, pos: Pos) -> Positioned<Self>
Create a positioned version of this AST node with the given position.
Source§impl Clone for SelectionSet
impl Clone for SelectionSet
Source§fn clone(&self) -> SelectionSet
fn clone(&self) -> SelectionSet
Returns a copy 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 SelectionSet
impl Debug for SelectionSet
Source§impl Default for SelectionSet
impl Default for SelectionSet
Source§fn default() -> SelectionSet
fn default() -> SelectionSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SelectionSet
impl<'de> Deserialize<'de> for SelectionSet
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SelectionSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SelectionSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IntoAst<SelectionSet> for SelectionSet
impl IntoAst<SelectionSet> for SelectionSet
Source§fn into_ast(self) -> SelectionSet
fn into_ast(self) -> SelectionSet
Returns the input value unchanged.
Source§impl Serialize for SelectionSet
impl Serialize for SelectionSet
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SelectionSet
impl RefUnwindSafe for SelectionSet
impl Send for SelectionSet
impl Sync for SelectionSet
impl Unpin for SelectionSet
impl UnwindSafe for SelectionSet
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