Struct juniper::LookAheadSelection [−][src]
pub struct LookAheadSelection<'a> { /* fields omitted */ }A selection performed by a query
Methods
impl<'a> LookAheadSelection<'a>[src]
impl<'a> LookAheadSelection<'a>pub fn for_explicit_type(
&self,
type_name: &str
) -> ConcreteLookAheadSelection<'a>[src]
pub fn for_explicit_type(
&self,
type_name: &str
) -> ConcreteLookAheadSelection<'a>Convert a eventually type independent selection into one for a concrete type
Trait Implementations
impl<'a> Debug for LookAheadSelection<'a>[src]
impl<'a> Debug for LookAheadSelection<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> Clone for LookAheadSelection<'a>[src]
impl<'a> Clone for LookAheadSelection<'a>fn clone(&self) -> LookAheadSelection<'a>[src]
fn clone(&self) -> LookAheadSelection<'a>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'a> PartialEq for LookAheadSelection<'a>[src]
impl<'a> PartialEq for LookAheadSelection<'a>fn eq(&self, other: &LookAheadSelection<'a>) -> bool[src]
fn eq(&self, other: &LookAheadSelection<'a>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LookAheadSelection<'a>) -> bool[src]
fn ne(&self, other: &LookAheadSelection<'a>) -> boolThis method tests for !=.
impl<'a> LookAheadMethods for LookAheadSelection<'a>[src]
impl<'a> LookAheadMethods for LookAheadSelection<'a>fn field_name(&self) -> &str[src]
fn field_name(&self) -> &strGet the name of the field represented by the current selection
fn select_child(&self, name: &str) -> Option<&Self>[src]
fn select_child(&self, name: &str) -> Option<&Self>Get the the child selection for a given field
fn arguments(&self) -> &[LookAheadArgument][src]
fn arguments(&self) -> &[LookAheadArgument]Get the top level arguments for the current selection
fn has_child(&self, name: &str) -> bool[src]
fn has_child(&self, name: &str) -> boolCheck if a given field exists
fn argument(&self, name: &str) -> Option<&LookAheadArgument>[src]
fn argument(&self, name: &str) -> Option<&LookAheadArgument>Get the top level argument with a given name from the current selection
Auto Trait Implementations
impl<'a> Send for LookAheadSelection<'a>
impl<'a> Send for LookAheadSelection<'a>impl<'a> Sync for LookAheadSelection<'a>
impl<'a> Sync for LookAheadSelection<'a>