reflect-sdk 1.0.0

Rust SDK for minting and redeeming USDC+ on Reflect
Documentation
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/codama-idl/codama>
//!

use crate::generated::types::Status;
use solana_pubkey::Pubkey;
use crate::generated::types::AccessControl;
use crate::generated::types::FlowControl;
use crate::generated::types::Spls;
use crate::generated::types::Recipients;
use crate::generated::types::Capture;
use crate::generated::types::StrategyPadding;
use borsh::BorshSerialize;
use borsh::BorshDeserialize;

#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Base {
pub bump: u8,
pub index: u8,
pub status: Status,
#[cfg_attr(feature = "serde", serde(with = "serde_with::As::<serde_with::DisplayFromStr>"))]
pub mint: Pubkey,
pub cap: u64,
pub access_control: AccessControl,
pub flow: FlowControl,
pub spls: Spls,
pub recipients: Recipients,
pub capture: Capture,
pub reserved: StrategyPadding,
}