pub fn batch_replace_from_proto( msg: &BatchReplaceOrdersResponse, ) -> Result<BatchReplaceOrdersResult>