//! This code was AUTOGENERATED using the Codama library.
use {crate::types::PermissionSigner, solana_pubkey::Pubkey};
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub enum PermissionMessage {
V1 {
nonce: u64,
consumer_program: Pubkey,
permission_signer: PermissionSigner,
permission_subject: Pubkey,
valid_until: u64,
permission_type: u8,
instruction_discriminators: Vec<Vec<u8>>,
},
}