Function parquet_format_safe::thrift::protocol::verify_required_field_exists
source · 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.