pub fn input_field_by_name(&self, name: &str) -> Option<&Argument<S>> {
        match *self {
            MetaType::InputObject(InputObjectMeta {
                ref input_fields, ..
            }) => input_fields.iter().find(|f| f.name == name),
            _ => None,
        }
    }
/// Access an input field's meta data given its name
///
/// Only input objects have input fields. This method always returns `None` for other types.
Access an input field's meta data given its name
Only input objects have input fields. This method always returns `None` for other types.
Access an input field ' s meta data given its name Only input objects have input fields . This method always returns ` None ` for other types .
pub fn input_field_by_name(&self, name: &str) -> Option<&Argument<S>> {
        match *self {
            MetaType::InputObject(InputObjectMeta {
                ref input_fields, ..
            }) => input_fields.iter().find(|f| f.name == name),
            _ => None,
        }
    }
pub fn input_field_by_name ( & self , name : & str ) -> Option < & Argument < S > > { match * self { MetaType :: InputObject ( InputObjectMeta { ref input_fields , .. } ) => input_fields . iter ( ) . find ( | f | f . name == name ) , _ => None , } }
Access an input field's meta data given its name
Only input objects have input fields.
Access an input field ' s meta data given its name Only input objects have input fields .
&self
name
&str
&self
name
&str