#[derive(Session)]
{
// Attributes available to this derive:
#[session]
}
Expand description
Derive macro for the Session trait (V1) or SessionV2 trait.
Auto-detects based on the field type:
Option<Account<'info, SessionToken>>→ implementsSessionOption<Account<'info, SessionTokenV2>>→ implementsSessionV2