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 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.6.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<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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)