#[hopper_event]Expand description
Derive a Hopper event: emits a stable 1-byte tag, optional segment source,
a NAME string, a FIELD_COUNT const, and an as_bytes(&self) view for
the framework’s log-emission pathway.
§Example
ⓘ
#[hopper::event(tag = 7, segment = 1)]
#[repr(C)]
pub struct Deposited {
pub amount: [u8; 8],
pub depositor: [u8; 32],
}