token_acl_client/generated/shared.rs
1//! This code was AUTOGENERATED using the codama library.
2//! Please DO NOT EDIT THIS FILE, instead use visitors
3//! to add features, then rerun codama to update it.
4//!
5//! <https://github.com/codama-idl/codama>
6//!
7
8#[cfg(feature = "fetch")]
9#[derive(Debug, Clone)]
10pub struct DecodedAccount<T> {
11 pub address: solana_pubkey::Pubkey,
12 pub account: solana_account::Account,
13 pub data: T,
14}
15
16#[cfg(feature = "fetch")]
17#[derive(Debug, Clone)]
18pub enum MaybeAccount<T> {
19 Exists(DecodedAccount<T>),
20 NotFound(solana_pubkey::Pubkey),
21}