Trump and Chinese President Xi Jinping agreed to keep talking, reviving hopes of a deal soon. Trump called his time with Xi “great” and “beautiful.”

Many expected a restart in trade talks, which collapsed two months ago, leading Trump to increase tariffs on the Chinese and pursue sanctions on the Chinese tech behemoth Huawei. But China got almost all of what it wanted from this meeting: Trump agreed to hold off on more tariffs, and he made some concessions regarding Huawei. In exchange, Trump said, Xi agreed to buy more U.S. farm products.

AD

AD

It’s too soon to tell whether the fragile truce will hold, but for now, here’s a rundown of the winners and losers from this round of U.S.-China talks.

Winners

China — China may have lost at the World Cup in France, but the nation had a strong showing at the G-20. China won some concessions from the United States. Trump agreed he would not put tariffs on the remaining $300 billion of Chinese imports while they keep talking. Trump also rolled back some restrictions on Huawei, which faced a far darker future if it couldn’t do business with U.S. tech companies. In exchange, China agreed to resume some purchases of U.S. agricultural products — something China wants anyway and has been offering for more than a year. (It’s not clear how much China will buy.)

AD

American retailers (Walmart, Target, Amazon, etc.) — Big sigh of relief. Trump had threatened to put tariffs on all remaining Chinese imports, including items such as smartphones, baby products and shoes. But those tariffs are off the table for now. This is a huge win for retailers who typically import nearly all the products for the major holiday shopping period in July, August and September.

AD

U.S. consumers — Trump’s current tariffs cost a family of four about $800 more a year. Had he gone ahead with his threat to tax all remaining Chinese imports, a typical family’s costs would have more than doubled to over $1,800.

Huawei — The U.S. government has accused Chinese tech giant Huawei of using its phones and other products to basically spy on Americans. The Commerce Department had restricted U.S. companies from doing business with Huawei, but Trump relaxed the ban this weekend. It’s a big win for Huawei because Trump overruled some of his advisers — and even GOP senators — with the move. It also means Trump is willing to make Huawei part of the trade negotiations, something the Chinese wanted but some Trump advisers tried to keep separate because they argue doing business with Huawei presents a national security concern.

AD

Wall Street — The stock market surged this month, with the Dow Jones industrial average having its best June since 1938. Wall Street investors bet Trump would restart trade talks, and that’s exactly what happened. Investors also cheered the Federal Reserve’s indication that it would cut interest rates, if necessary, to boost the economy if Trump’s trade war really starts to bite.

AD

Losers

Trump’s China hawks — People concerned about China’s rising influence — and its economic and national security challenges to the United States — are unlikely to be pleased with the deal. They include Secretary of State Mike Pompeo, whom the Chinese press calls the “cheerleader of hatred.” Pompeo has been a major advocate of tough sanctions on China. There’s also adviser Peter Navarro, who wrote the book “Death by China” and found himself seated at the end of the negotiating table watching as Trump agreed to abandon his biggest potential blow to China: tariffs on all imports.

AD

Congress’s China hawks — Lawmakers on both sides of the aisle, including Sen. Marco Rubio (R-Fla.) and Senate Minority Leader Charles E. Schumer (D-N.Y.), have all expressed alarm about Trump showing weakness in his trade negotiations with China, particularly on Huawei. Trump’s decision to relax restrictions on the Chinese tech giant as part of a trade negotiation is likely to draw criticism.

AD

2020 Democrats — Democratic presidential candidates have struggled to go after Trump on trade. Their best attack line — which Pete Buttigieg used in the debates Thursday — is to claim Trump’s tariffs are the wrong way to go after China because they just raise prices for Americans. But Trump’s decision not to impose the supersize tariffs on China lessens the pain on consumers.

Unclear

AD

Trump — He got talks restarted, which will benefit markets and potentially the economy going into the 2020 campaign. But he gave up a lot to China to get there. He backtracked on his big tariff threat, something China, Europe and other powerful nations are unlikely to forget as trade talks continue around the globe. It’s still possible Trump will be able to make a deal with China that gets some major concessions from Xi, but in this round, he appeared very eager to work with the Chinese.

AD

The U.S.-China economic relationship — Even as some critics chastised Trump’s approach to the China negotiations, there was broad agreement that China needed to make critical reforms to its economy and make it a more level playing field for foreign businesses. It’s uncertain whether Trump’s decision to de-escalate will make more likely a deal that forces China to take up those changes.

Farmers — China appears ready to resume purchases of soybeans, meats and other farm goods from the United States. That should help lift prices a little after a brutal year, but it’s unclear whether China will resume the same level of purchases as before the trade war (let alone do more). Like every other business, farmers want certainty, and they don’t have that yet.

AD

Robert E. Lighthizer — The top U.S. trade negotiator is the key player from here. He is the one who has to hammer out the details of any final agreement with China. There’s still a lot left to do, especially to get China to actually change its policies on foreign competition and intellectual property. It’s unclear whether this meeting helped or hurt his hand, especially with Xi stressing “negotiations should be equal and show mutual respect.”