Skip to main content

reflect_sdk/generated/types/
base.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
8use crate::generated::types::Status;
9use solana_pubkey::Pubkey;
10use crate::generated::types::AccessControl;
11use crate::generated::types::FlowControl;
12use crate::generated::types::Spls;
13use crate::generated::types::Recipients;
14use crate::generated::types::Capture;
15use crate::generated::types::StrategyPadding;
16use borsh::BorshSerialize;
17use borsh::BorshDeserialize;
18
19#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
20#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
21pub struct Base {
22pub bump: u8,
23pub index: u8,
24pub status: Status,
25#[cfg_attr(feature = "serde", serde(with = "serde_with::As::<serde_with::DisplayFromStr>"))]
26pub mint: Pubkey,
27pub cap: u64,
28pub access_control: AccessControl,
29pub flow: FlowControl,
30pub spls: Spls,
31pub recipients: Recipients,
32pub capture: Capture,
33pub reserved: StrategyPadding,
34}
35
36