solana_config_program_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#[cfg(feature = "fetch")]
8#[derive(Debug, Clone)]
9pub struct DecodedAccount<T> {
10    pub address: solana_program::pubkey::Pubkey,
11    pub account: solana_sdk::account::Account,
12    pub data: T,
13}
14
15#[cfg(feature = "fetch")]
16#[derive(Debug, Clone)]
17pub enum MaybeAccount<T> {
18    Exists(DecodedAccount<T>),
19    NotFound(solana_program::pubkey::Pubkey),
20}