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: matcher_core.rs
    path of file: ./repos/streamdal/libs/wasm-detective/src
    
    the code of the file until where you have to start completion: use crate::error::CustomError;
use chrono::TimeZone;
use crate::detective::{parse_number, Request};
use streamdal_gjson::{Value, Kind};
use protos::sp_steps_detective::DetectiveType;
use regex::Regex;
use std::net::IpAddr;
use std::str;
use s
    
pub fn string_equal_to(request: &Request, field: Value) -> Result<bool, CustomError> {
    if request.args.len() != 1 {
        return Err(CustomError::Error(
            "string_equal_to requires exactly 1 argument".to_string(),
        ));
    }

    Ok(field.str() == request.args[0])
}