[][src]Function thrift::protocol::verify_required_field_exists

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

Check if a required Thrift struct field exists.

Return () if it does, Err otherwise.