mpl_waffle/generated/types/
node.rs

1//! This code was AUTOGENERATED using the kinobi library.
2//! Please DO NOT EDIT THIS FILE, instead use visitors
3//! to add features, then rerun kinobi to update it.
4//!
5//! [https://github.com/metaplex-foundation/kinobi]
6//!
7
8use borsh::BorshDeserialize;
9use borsh::BorshSerialize;
10use solana_program::pubkey::Pubkey;
11
12#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
13#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
14pub struct Node {
15    pub bucket: u32,
16    pub next: u32,
17    #[cfg_attr(
18        feature = "serde",
19        serde(with = "serde_with::As::<serde_with::DisplayFromStr>")
20    )]
21    pub value: Pubkey,
22}