nifty_asset/generated/types/delegate.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/kinobi-so/kinobi>
6//!
7
8use crate::hooked::DelegateRoles;
9use crate::hooked::NullablePublicKey;
10use borsh::BorshDeserialize;
11use borsh::BorshSerialize;
12
13#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
14#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
15pub struct Delegate {
16 pub address: NullablePublicKey,
17 pub roles: DelegateRoles,
18}