(interaction: InteractionData)
| 251 | |
| 252 | impl From<InteractionData> for Interaction { |
| 253 | fn from(interaction: InteractionData) -> Self { |
| 254 | Self { |
| 255 | target: interaction.target, |
| 256 | value: interaction.value, |
| 257 | data: interaction.call_data, |
| 258 | } |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | pub fn encode_interactions<'a, I>( |