Get discount data from adjustment object
An adjustment will take a snapshot of the source object that contained the rule for its application.

So the following is an array of a discounts attribute if you have a discount adjustment

{{ adjustment.sourceSnapshot }}


You could get the coupon code with

{{ adjustment.sourceSnapshot.code }}