sigil_client/generated/types/tree.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 crate::generated::types::Node;
9use borsh::BorshDeserialize;
10use borsh::BorshSerialize;
11use kaigan::types::RemainderVec;
12
13#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
14#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
15pub struct Tree {
16 pub allocator: [u8; 8],
17 pub nodes: RemainderVec<Node>,
18}