pub fn verify_required_field_exists<T>(
    field_name: &str,
    field: &Option<T>
) -> Result<()>
Expand description

Check if a required Thrift struct field exists.

Return () if it does, Err otherwise.