sendfun_sdk/nexus/generated/
shared.rs1#![allow(
2 clippy::all,
3 clippy::pedantic,
4 clippy::nursery,
5 clippy::expect_used,
6 clippy::unwrap_used,
7 clippy::indexing_slicing,
8 clippy::allow_attributes,
9 clippy::allow_attributes_without_reason,
10 clippy::mem_forget,
11 unfulfilled_lint_expectations,
12 unexpected_cfgs,
13 unused_imports
14)]
15
16#[cfg(feature = "fetch")]
24#[derive(Debug, Clone)]
25pub struct DecodedAccount<T> {
26 pub address: solana_address::Address,
27 pub account: solana_account::Account,
28 pub data: T,
29}
30
31#[cfg(feature = "fetch")]
32#[derive(Debug, Clone)]
33pub enum MaybeAccount<T> {
34 Exists(DecodedAccount<T>),
35 NotFound(solana_address::Address),
36}