spl_token_2022/extension/
mint_close_authority.rs#[cfg(feature = "serde-traits")]
use serde::{Deserialize, Serialize};
use {
crate::extension::{Extension, ExtensionType},
bytemuck::{Pod, Zeroable},
spl_pod::optional_keys::OptionalNonZeroPubkey,
};
#[repr(C)]
#[cfg_attr(feature = "serde-traits", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "serde-traits", serde(rename_all = "camelCase"))]
#[derive(Clone, Copy, Debug, Default, PartialEq, Pod, Zeroable)]
pub struct MintCloseAuthority {
pub close_authority: OptionalNonZeroPubkey,
}
impl Extension for MintCloseAuthority {
const TYPE: ExtensionType = ExtensionType::MintCloseAuthority;
}