Struct juniper::Arguments [−][src]
pub struct Arguments<'a> { /* fields omitted */ }Field argument container
Methods
impl<'a> Arguments<'a>[src]
impl<'a> Arguments<'a>pub fn get<T>(&self, key: &str) -> Option<T> where
T: FromInputValue, [src]
pub fn get<T>(&self, key: &str) -> Option<T> where
T: FromInputValue, Get and convert an argument into the desired type.
If the argument is found, or a default argument has been provided,
the InputValue will be converted into the type T.
Returns Some if the argument is present and type conversion
succeeeds.