usedeepsize2::DeepSizeOf;useserde::{Deserialize, Serialize};/// Global Interaction Event.
////// This event is emitted for all interactions that are sent or received across different shards.
#[derive(Clone, Copy, Debug, Default, Serialize, Deserialize, DeepSizeOf)]#[repr(C)]pubstructGlobalInteractionEvent{/// The message.
pubmessage: [u32; 8],
/// Whether the interaction is received or sent.
pubis_receive:bool,
/// The kind of the interaction event.
pubkind:u8,
}