spl_token_2022/extension/default_account_state/
mod.rs#[cfg(feature = "serde-traits")]
use serde::{Deserialize, Serialize};
use {
crate::extension::{Extension, ExtensionType},
bytemuck::{Pod, Zeroable},
};
pub mod instruction;
pub mod processor;
#[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 DefaultAccountState {
pub state: PodAccountState,
}
impl Extension for DefaultAccountState {
const TYPE: ExtensionType = ExtensionType::DefaultAccountState;
}
type PodAccountState = u8;