mpl_bubblegum/generated/types/collection.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 Collection {
15 pub verified: bool,
16 #[cfg_attr(
17 feature = "serde",
18 serde(with = "serde_with::As::<serde_with::DisplayFromStr>")
19 )]
20 pub key: Pubkey,
21}