fn find_singular_id(&self) -> Option<ScalarFieldRef> {
        self.scalar()
            .into_iter()
            .find_map(|field| if field.is_id() { Some(field) } else { None })
    }
/// Attempts to resolve a single ID field on the model (supplied with an @id on a scalar field).
Attempts to resolve a single ID field on the model (supplied with an @id on a scalar field).
Attempts to resolve a single ID field on the model ( supplied with an @id on a scalar field ) .
fn find_singular_id(&self) -> Option<ScalarFieldRef> {
        self.scalar()
            .into_iter()
            .find_map(|field| if field.is_id() { Some(field) } else { None })
    }
fn find_singular_id ( & self ) -> Option < ScalarFieldRef > { self . scalar ( ) . into_iter ( ) . find_map ( | field | if field . is_id ( ) { Some ( field ) } else { None } ) }
Attempts to resolve a single ID field on the model (supplied with an @id on a scalar field).
Attempts to resolve a single ID field on the model ( supplied with an @id on a scalar field ) .
&self