You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: lib.rs
    path of file: ./repos/grafbase/engine/crates/engine-v2/schema/src
    
    the code of the file until where you have to start completion: use std::str::FromStr;

mod builder;
mod cache;
mod field_set;
mod ids;
mod input_value;
mod names;
mod resolver;
pub mo
    
    pub fn object_field_by_name(&self, object_id: ObjectId, name: &str) -> Option<FieldId> {
        self.object_fields
            .binary_search_by_key(&(object_id, name), |ObjectField { object_id, field_id }| {
                (*object_id, &self[self[*field_id].name])
            })
            .map(|index| self.object_fields[index].field_id)
            .ok()
    }